API Reference
Carts
Validate voucher against a cart
1min
GET
Authentication
Authorization
Path Parameters
cartReference
*
voucherCode
*
Header Parameters
X-TokenId
X-SessionId
X-Version
*
Origin
Responses
200
OK
resourceReference
description
pricing
quantity
productInfo
customLineItemParameters
404
β’ Cart cannot be found
<br /> β’ Voucher code cannot be found
412
β’ Invalid voucher code type, only Fixed Priced and Percentage discounts are supported
<br /> β’ Voucher code is inactive
<br /> β’ Cannot amend a cart which is currently used on a payment instruction
<br /> β’ Cannot apply more than one voucher to a cart
ο»Ώ
ο»Ώ
π€
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.
ο»Ώ
Updated 02 Nov 2023
Did this page help you?