#nadia

1 messages ยท Page 1 of 1 (latest)

marsh pewterBOT
harsh robin
#

๐Ÿ‘‹ happy to help

tall ember
#

hi @harsh robin

harsh robin
#

looking into this

tall ember
#

thanks a lot

harsh robin
tall ember
#

we list all the customer subscriptions

#

the discount filed is set to null, but on subscription creation i've applied a coupon, & the returned subscription had a discount field including the coupon i used

harsh robin
#

would you mind sharing the subscription ID?

tall ember
#

yes !

#

sub_1MWjL7FxsE4pn4oacXdodQ7V

#

sub_1MWjO0FxsE4pn4oawUJfoY4P

harsh robin
#

since the coupon you've used is a one-off coupon

#

it doesn't apply on the subscription level

#

but rather on the first invoice

tall ember
#

ahhh okay ! thanks for your response
i should get the subscription first invoice then to get the coupon

#

?

harsh robin
#

yes

#

since it was only for one cycle, you can use latest_invoice

tall ember
#

okay thanks a lot for your help !

#

have a nice day