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

Product for discount restriction isn't active

Restricted products must be active, but one or more are archived.

Example response
{
"error": {
"type": "request_error",
"code": "discount_restricted_product_not_active",
"detail": "Product pro_01ghbk4xjn4qdsmstcwzgcgg35 isn't active.",
"documentation_url": "https://developer.paddle.com/errors/discounts/discount_restricted_product_not_active"
},
"meta": {
"request_id": "00000000-0000-0000-0000-000000000000"
}
}

Details

Status code
400
Error code
discount_restricted_product_not_active
Error message
Product %s isn't active.

Common causes

  • A product ID in restrict_to has a status of archived.

Troubleshooting

  • Check the product's status by listing products filtered using the id query parameter.
  • Update the product so that its status is active.

Was this page helpful?