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

Price for discount restriction isn't active

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

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

Details

Status code
400
Error code
discount_restricted_product_price_not_active
Error message
Price %s isn't active.

Common causes

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

Troubleshooting

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

Was this page helpful?