#kibbas

1 messages · Page 1 of 1 (latest)

coral ginkgoBOT
barren crest
opaque hawk
barren crest
#

Yes, you've not provided an array, just an object

#

using postman you need to do discounts[0][coupon]=...

opaque hawk
#

Ok it's working! thanks. So how can i remove this coupon? And can i put the ID Promotion Code instead of ID coupon ?

barren crest
#

No i believe that only accepts the coupon ID, so if you accept a promo code from the customer you'd need to look that up on your server

#

You can remove it by sending and empty discounts parameter in an update

opaque hawk
#

Ok thanks for your answer

#

yes it's working ! Thank you

barren crest
#

NP!