#loic_87

1 messages ยท Page 1 of 1 (latest)

slender thunderBOT
grave knoll
#

I dont find any way to get back the information (webhook or api call ) .
What information specifically? What are you trying to do?

raven light
#

hello ! thanks for helping !
I want to know wish product is associated to my coupon ... impossible

#

Webhook or api call

#

the only solution is to use metadata... but if we forgot to add this metadata in any moment... it block my workflow in front

grave knoll
#

What do you mean by 'association'? The product restriction?

raven light
#

thank you i read all you answer & doc

#

ok , but by defaut, if i create from stripe, the expand wont be possible right ? and the information of the applies_to also ?

grave knoll
#

Yes any 'expandable' fields', like applies_to, are not included in API responses or event payloads by default

#

They're all flagged as such on the API reference

#

You can pass expand parameter in your creation request and the creation response will include the field

raven light
#

OK ! yes !

#

find out !

#

thanks you so much

grave knoll
#

Just: expand: 'applies_to'

raven light
#

yes thanks you so much understood ! ๐Ÿ˜„ save my day / week / month / year ๐Ÿ™‚