The unique identifier of the in progress order base being modified
Vista Digital Platform (V1)
Download OpenAPI description
Languages
Servers
Mock server
https://developer.vista.co/_mock/openapi/digital-platform/openapi
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/{orderId}/vouchers/{voucherId}
- cURL
- JavaScript
- Node.js
curl -i -X DELETE \
'https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/{orderId}/vouchers/{voucherId}' \
-H 'Connect-Region-Code: string'Body
- application/json
- text/json
- application/*+json
- application/json-patch+json
The details of the voucher to be added to the in progress order base
One of:
Represents the information required to add an order voucher of type voucher type Deal to an in progress standard order
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/{orderId}/vouchers
- cURL
- JavaScript
- Node.js
- application/json
- text/json
- application/*+json
- application/json-patch+json
curl -i -X POST \
'https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/{orderId}/vouchers' \
-H 'Connect-Region-Code: string' \
-H 'Content-Type: application/json' \
-d '{
"type": "Ticket",
"showtimeId": "string",
"credentials": {
"barcode": "string",
"pin": "string"
}
}'Response
application/json
{ "voucher": { "id": "string", "type": "Ticket", "maskedBarcode": "12.......6789", "voucherTypeCode": "string", "voucherTypeDescription": { … } }, "availableRedemptions": 0 }