HomeGuidesAPIsReleasesDownloadsDeveloperEvents
Log In
APIs
These docs are for v2024.01. Click to read the latest docs for v2025.03.01.

Add items

Add one or more items to an existing cart
Response Code | Fault Code | Fault | Suggested User Message
------------- | ---------- | ----- | ----------------------
400 | 90035 | ItemAlreadyPurchasedFault | Item Already Purchased
404 | 90040 | NoCartFoundFault | Cart does not exist
400 | 90036 | ItemNotWithinBuyWindowFault | Item unavailable for purchase
403 | 90076 | ValidateWithProviderFailedFault | Provider {name} cannot validate the device
400 | 90023 | InvalidItemCombinationFault | Item {itemCode} cannot be added to this cart
404 | 90069 | UnknownItemCodeFault | Incorrect Item Code provided
400 | 90079 | VCNRequiredFault | No VCN Provided
400 | 90062 | UnableToAddItemsFault | Item {itemCode} cannot be added to this cart
400 | 90009 | InactiveVCNFault | Inactive VCN provided
400 | 90052 | PpvPinIncorrectFault | Incorrect PIN provided
400 | 90031 | InvalidVCNFault | Invalid VCN provided
500 | 90061 | SystemFailureFault | System Failure, please try again later
400 | 90053 | PpvPinRequiredFault | PIN required

Path Params
uuid
required

The ID of the customer who owns the cart

int64
required

The ID of the cart to add items to

Body Params

The items to be added to the cart

items
array of objects
items
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

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.

Responses

Language
Choose an example:
application/json