For AI agents and LLMs: a structured documentation index is available at /llms.txt. Every page has a Markdown sibling — append .md to any URL.

Skip to content
Paddle Docs home

Usage limit can't be lower than times used

Usage limit can't be lower than the number of times a discount has already been used.

Example response
{
"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

  • usage_limit is set to a value lower than the current times_used. The usage limit can't be lower than the number of times a discount has already been used.

Troubleshooting

  • Increase usage_limit so it's greater than or equal to times_used.
  • Set usage_limit to null to remove the usage limit.
  • Archive the discount, then create a new one. times_used on the new discount starts at 0.

Was this page helpful?