Skip to main content
GET

Overview

Gets the current state of the cart with line items and pricing information. Returns an empty cart if no items have been added yet.

Authentication

string
required
Device authentication token from browser session

Path Parameters

string
required
Merchant domain (e.g., staging.luma.gift)

Query Parameters

string
default:"false"
Set to true for faster response with potentially cached data

Response

Returns the shopping cart with line items, pricing, and available options.

Response Fields

string
Unique identifier for the cart
string
Current cart status (active, submitted, etc.)
string
Merchant display name
string
E-commerce platform identifier
string
Merchant identifier
array
Array of items in the cart
object
Subtotal before shipping and tax
object
Shipping cost (if shipping info has been set)
object
Tax amount
object
Grand total including all costs
object
Shipping address (if set)
object
Selected shipping method (if set)
array
Available shipping methods (if shipping info has been set)
array
Available payment methods
array
Array of notice messages (Simple Cart API uses string array)

Error Responses

400 Bad Request

Missing or invalid authentication header

404 Not Found

Cart was not found

503 Service Unavailable

Store temporarily unavailable