Simple Store
Search…
Cart
Simple Store supports a full ecommerce shopping cart object.

Basic Cart Process

Attributes
Sample Object
Element
Desciption
cartId
Unique Identifier for the Cart
items[]
An array of one or many items in the Cart
items[].productId
Unique Identifer for the Product (see Product)
items[].slug
Product Slug
items[].title
Product Title
items[].description
Product Description
items[].quanity
Quantity of Product
items[].paymentMethod
Payment Method
items[].totalCurrency
Product Total in Currency
items[].totalPoints
Product Total in Points
items[].files[]
See Assets
items[].attributes
One or more key/value pairs to support customisation of products
currencyCode
ISO currency code
shippingFee
Shipping Fee
subTotalCurrency
Cart Total in Currency (excluding Shipping)
totalCurrency
Cart Total in Currency
totalPoints
Cart Total in Points
attributes
One or more key/value pairs to support customisation of cart
1
{
2
"cartId": "string",
3
"items": [
4
{
5
"productId": "string",
6
"slug": "string",
7
"title": "string",
8
"description": "string",
9
"quantity": 0,
10
"paymentMethod": "CurrencyOnly",
11
"totalCurrency": 0,
12
"totalPoints": 0,
13
"files": [
14
{
15
"fileId": "string",
16
"contentType": "string",
17
"accessPermission": "string",
18
"accessUrl": "string",
19
"attributes": {},
20
"edgeUrl": "string"
21
}
22
],
23
"attributes": {}
24
}
25
],
26
"currencyCode": "string",
27
"shippingFee": 0,
28
"subTotalCurrency": 0,
29
"totalCurrency": 0,
30
"totalPoints": 0,
31
"attributes": {}
32
}
Copied!
Last modified 1yr ago
Copy link