#yuki-cli-nestedparameter

1 messages · Page 1 of 1 (latest)

thin violetBOT
carmine compass
#

Hey @lost haven let's talk here and I'd be happy to help once you provide more information

lost haven
#

Hi @carmine compass

#

When I try to run this code via CLI,
stripe customers create
--description Test --email test@test.com --payment-method pm_card_visa -d invoice_settings.default_payment_method=pm_card_visa

I get an errror
"message": "Received unknown parameter: invoice_settings.default_payment_method",

carmine compass
#

yeah that's not how you pass nested parameters with the CLI. You want -d "invoice_settings[default_payment_method]"=pm_card_visa I think (depends on your shell/terminal configuration

#

yuki-cli-nestedparameter

lost haven
#

that workedd, thank you