#zenwr

1 messages · Page 1 of 1 (latest)

ivory ferryBOT
versed thistle
#

hello! have you tried something like -d "metadata[my_key]=my_value"?

white geode
#

i have tried this:-

#
stripe subscriptions create  \
  --customer=cus_111 \
  -d "items[0][price]"=price "metadata[client-reference-id]"=1234
#

but i get this error:- stripe subscriptions create requires exactly 0 positional arguments. See stripe subscriptions create --help for supported flags and usage

versed thistle
#

why are you including the metadata in that same line like this?

white geode
#

it worked thanks

#

having them on same line

#

was the issue