POST DLC Service Discounts Redeem
Redeem the given Discount
Headers
- Type: stringX
- Request - I D requiredUnique request identifier
- Type: stringApplicationrequired
Application key
- Type: stringAcceptrequired
Accept header
- Type: stringA
P I -version requiredApi version
- Type: stringAuthorizationrequired
Authorization header
- Type: stringDlc
- Authorization Punchh customer token, on a brand integrated with Punchh.
Authorizationcarries the PAR Ordering customer token and does not authenticate you to Punchh. Omitting this header falls back to the Punchh token stored for that customer at sign-in, which may be stale.Declared optional because it is conditional, not because it is safe to leave out. It applies only to a Punchh brand, so marking it required would be wrong for every brand without the integration. Where it is needed, see Use Rewards, Offers, Customer Credits, and Promo Codes.
Body
application/json
- Type: integerdiscount
_id Integer numbers.
- Type: integertype
_id Integer numbers.
- Type: stringFormat: uuidvenue
_id
Responses
- application/json
Request Example for post/dlc-service/discounts/redeem
curl https://api-public-demo.menu.app/api/dlc-service/discounts/redeem \
--request POST \
--header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937' \
--header 'Application: ' \
--header 'Accept: application/json' \
--header 'API-version: 5.0.0' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data '{
"type_id": 3,
"discount_id": 10005906790,
"venue_id": "b8c2d108-3f22-11ed-936c-1a67b454859d"
}'
{
"status": "OK",
"code": 200,
"data": {
"redemption_code": "6073964"
}
}