post
https://api.yotpo.com/apps//coupons/unique
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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 | map_review |
| The customer shares a review on the Landing Page | map_share |
| The customer writes and shares a review | map_review_share |
Error codes
| Code | Description |
|---|---|
empty_cells"Empty cells" | The array you uploaded contains empty dynamic coupon codes. |
code_length"Max/Min code digit requirements" | The dynamic coupon code is too long to too short. |
duplicate_code"Duplicated content" | You used the same dynamic coupon code more than once. The codes must be unique. |