#Clément

1 messages · Page 1 of 1 (latest)

dusk mantleBOT
pseudo stump
#

Hi there,
promotion code are used only with Checkout. not possible using API

potent orchid
#

Damned ! Is there plan to support them sooner or later ?

twin tartan
#

Sorry to interrupt but can‘t you just pass the coupon Id?

#

It works for me

potent orchid
#

Of course I can, but the ID would have been to track how many time a coupon was used.

#

i.e. : I'm running a promo offer with my partner, same coupon (20% off) but 10 différents partners. I must know how many times X was used

pseudo stump
potent orchid
#

Grumph.

pseudo stump
#

That field is updated internally and automatically by Stripe, once the customer used the promotion code for Checkout:

Number of times this promotion code has been used.
If you want to use the promotion code outside Checkout Session, then you need to keep tracking the reeedemed in your integration