{ "error": { "type": "request_error", "code": "discount_usage_limit_less_than_times_used", "detail": "Usage limit is less than times already used (Times Used: 10, Usage Limit: 5)", "documentation_url": "https://developer.paddle.com/errors/discounts/discount_usage_limit_less_than_times_used" }, "meta": { "request_id": "00000000-0000-0000-0000-000000000000" }}Details
- Status code
- 400
- Error code
-
discount_usage_limit_less_than_times_used - Error message
- Usage limit is less than times already used (Times Used: %d, Usage Limit: %d)
Common causes
- You're trying to change the
usage_limitagainst a discount to a value that's less than thetimes_used. This is not permitted.
Troubleshooting
- Increase the
usage_limitso it's greater thantimes_used. - Set
usage_limittonullif you'd like a discount to be used an unlimited amount of times. - Archive the discount, then create another.
times_usedagainst the new discount starts at0.