#meteograms
1 messages · Page 1 of 1 (latest)
You are passing a "null" string and not null .
So how do I pass null and not a "null" string?
yes
Hi! I'm taking over from my colleague. Please, give me a moment to catch up.
How are you sending this request?
just a curl command in a terminal... the curl command is given above. Of course, normally I'm using one of the stripe libraries in my code, but here I just want to quickly update a product via the command line (using curl).
Oh, this is odd then. Let me check.
Sorry, is this the command that produces the error?
curl https://api.stripe.com/v1/products/prod_xyz-etc-yyy -u sk_test_xxx-etc-yyy: -d "default_price"=null
I looked at the other one. Try sending an empty string ""
Please, let me know if you have any other questions.
I'll give it a try...
Yep, that works well... i.e. setting to an empty string sets the property to null.
Great. Please, let me know if you have any other questions.
Thanks, that's all for this particular issue!