This endpoint validates the provided voucher credentials and stores a successfully validated voucher against the order for later use.
The details of the voucher to be added to the in progress order base
Represents the information required to add an order voucher of type voucher type Deal to an in progress standard order
Success
Request property is invalid or missing, or invalid order type/voucher.
Order does not exist.
Too many requests. Try again later.
{- "type": "Ticket",
- "credentials": {
- "barcode": "string",
- "pin": "string"
}
}
{- "voucher": {
- "id": "string",
- "type": "Ticket",
- "maskedBarcode": "12.......6789",
- "voucherTypeCode": "string",
- "voucherTypeDescription": {
- "text": "string",
- "translations": [
- {
- "languageTag": "en-US",
- "text": "string"
}
]
}
}, - "availableRedemptions": 0
}