Orders
Vouchers
Removes a voucher from an in progress order base
Changed onThis endpoint is not available for in progress tab order entities.
If the voucher is not a deal voucher, all usages of the voucher on the order must be cancelled before the voucher can be removed.
Licenses Required
- Vista.Ocapi
delete/ocapi/v1/orders/{orderId}/vouchers/{voucherId}
Request
- Base URLhttps://developer.vista.co (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
orderIdstring required
The unique identifier of the in progress order base being modified
voucherIdstring required
The unique identifier of the order voucher being removed
Headers
Connect-Region-Codestring
Region Code
Response
Voucher removed.
Changes
- info
api tag
Ordersadded
- info