409 Conflict
Discount code expired
- Code
discount_code_expired- Status
409Conflict- Type
https://errors.clavian.io/discount-code-expired
What it means
The discount code’s validity window has ended.
What to do
Say the code has expired, and carry on without it.
Example
The API answers with status 409 and this body, as application/problem+json. A detail may be added, saying what went wrong this time; it is for people, and changes.
{
"type": "https://errors.clavian.io/discount-code-expired",
"title": "Discount code expired",
"status": 409,
"code": "discount_code_expired",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/organizations/{organizationId}/venues/{venueId}/sales/quotePrice a cart with its promotions before placing itPOST /v1/station/discount-codes/checkCheck a discount code at the kioskPOST /v1/station/food-ordersOrder food from the PCPOST /v1/station/passes/{productId}/purchaseBuy a pass from the kioskPOST /v1/station/quotePrice a pass or a food cart at the kiosk, promotions included