Validate voucher against a cart
1min
GET
Authentication
Authorization
Bearer
Path Parameters
cartReference
string
*
voucherCode
string
*
Header Parameters
X-TokenId
string
X-SessionId
string
X-Version
string
*
Origin
string
Responses
200
OK
FictiveGlobal.Api.Rest.Dtos.v1.Cart.CartItem[]
resourceReference
string
description
string
pricing
FictiveGlobal.Api.Rest.Dtos.v1.CartLineItems.PricePoint
quantity
integer<int32>
productInfo
FictiveGlobal.Api.Rest.Dtos.v1.Cart.LineItemProductInfo
customLineItemParameters
object
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
ο»Ώ
ο»Ώ
Updated 25 Mar 2024
Did this page help you?