#Mustafa

1 messages · Page 1 of 1 (latest)

gleaming depotBOT
random copper
#

hi, having a look.

#

just retrieving the object from the API, modifying it, and submitting that object, won't work, because there are fields on the response that are not included by default, and the response object is not always the same shape as the request parameters.

muted sky
#

Hi, thanks for answering.
What if I don't want to add products?

random copper
#

you have to.

#

the configuration already has products defined, to be clear.

#

it's just that by default, those are not included in the response when you call stripe.billing_portal.Configuration.retrieve, which is why you don't see them, and why your update request is missing them. (which is what I'm explaining above).

muted sky
#

How to fetch products in the given configuration?

#

If it is not included by default. is there some way to include them and see?

random copper
#

yes, they're expandable