Simple Store
  • What is Simple Store?
  • Getting Started
    • Portal
      • Environments
      • Configuring Your Store
    • Creating Your First Product
    • QuickBuy
  • Concepts
    • Assets
      • Image Resizing
    • Cart
    • Categories
    • Configuration
    • Collections
    • Customers
    • Inventory
    • Orders
    • Payments
    • Pricing
    • Product
    • Rewards
    • Shipping
    • Specials
  • API
  • Front End Client APIs
  • Backend APIs
  • Pagination
  • Swagger References
Powered by GitBook
On this page
  1. Concepts

Cart

PreviousImage ResizingNextCategories

Last updated 5 years ago

Simple Store supports a full ecommerce shopping cart object.

Basic Cart Process

Element

Desciption

cartId

Unique Identifier for the Cart

items[]

An array of one or many items in the Cart

items[].productId

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[]

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

{
  "cartId": "string",
  "items": [
    {
      "productId": "string",
      "slug": "string",
      "title": "string",
      "description": "string",
      "quantity": 0,
      "paymentMethod": "CurrencyOnly",
      "totalCurrency": 0,
      "totalPoints": 0,
      "files": [
        {
          "fileId": "string",
          "contentType": "string",
          "accessPermission": "string",
          "accessUrl": "string",
          "attributes": {},
          "edgeUrl": "string"
        }
      ],
      "attributes": {}
    }
  ],
  "currencyCode": "string",
  "shippingFee": 0,
  "subTotalCurrency": 0,
  "totalCurrency": 0,
  "totalPoints": 0,
  "attributes": {}
}

Unique Identifer for the Product (see )

See

Product
Assets