post https://api.yotpo.com/apps/:app_key/coupons/unique
How to use this endpoint
- For example responses, click the relevant status code on the right.
- You can upload up to 1,000 codes.
Coupon actions
Issue coupon when... | Parameter |
---|---|
The customer writes a product or site review |
|
The customer shares a review on the Landing Page |
|
The customer writes and shares a review |
|
Error codes
Code | Description |
---|---|
| The array you uploaded contains empty dynamic coupon codes. |
| The dynamic coupon code is too long to too short. |
| You used the same dynamic coupon code more than once. The codes must be unique. |