Create a new cart, optionally adding items and discount

Create a new cart which can be used to make purchases. Items may be added at this point as well as a discount

Response CodeFault CodeFaultSuggested User Message
40090035ItemAlreadyPurchasedFaultItem Already Purchased
40090036ItemNotWithinBuyWindowFaultItem unavailable for purchase
40390076ValidateWithProviderFailedFaultProvider {name} cannot validate the device
40490022InvalidDiscountCodeFaultDiscount does not exist
40090023InvalidItemCombinationFaultItem {itemCode} cannot be added to this cart
40490069UnknownItemCodeFaultIncorrect Item Code provided
40090079VCNRequiredFaultA Viewing Card is required for this purchase
40090062UnableToAddItemsFaultItem {itemCode} cannot be added to this cart
40090009InactiveVCNFaultViewing Card provided is inactive
40090052PpvPinIncorrectFaultIncorrect PIN provided
40090031InvalidVCNFaultViewing Card provided is Invalid
50090061SystemFailureFaultSystem Failure, please try again later
40090053PpvPinRequiredFaultPIN required
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The ID of the customer the cart is to be created for

string
required
length between 3 and 3

3-letter code for currency in which purchases will be made

Body Params

The items to be added to the cart (including optional discount details)

List of cart items to be added with an optional discount details

items
array of objects
items
discountCode
object

Details of a code to be applied to the cart which may trigger a discount

Headers
string

The tenant ID for which the operation is being carried out. This will be automatically generated during the authentication process.

string

The ID of a user who is performing the operation. This will be automatically generated during the authentication process.

string
enum

The source of whether records are updated by HMAC or a USER. This will be automatically generated during the authentication process. For customers accessing the service the source will be set to CUSTOMER.

Allowed:
Responses

Language
LoadingLoading…
Response
Choose an example:
application/json