Cart Operations
Get Cart
Retrieves the current shopping cart
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
Device authentication token from browser session
Path Parameters
Merchant domain (e.g.,
staging.luma.gift)Query Parameters
Set to
true for faster response with potentially cached dataResponse
Returns the shopping cart with line items, pricing, and available options.Response Fields
Unique identifier for the cart
Current cart status (
active, submitted, etc.)Merchant display name
E-commerce platform identifier
Merchant identifier
Array of items in the cart
Subtotal before shipping and tax
Shipping cost (if shipping info has been set)
Tax amount
Grand total including all costs
Shipping address (if set)
Selected shipping method (if set)
Available shipping methods (if shipping info has been set)
Available payment methods
Array of notice messages (Simple Cart API uses string array)