Skip to main content
GET
Get Cart

Overview

The Get Cart endpoint retrieves the complete current state of a shopping cart, including:
  • All line items with product details and quantities
  • Multiple shipments with items grouped by fulfillment requirements
  • Complete pricing breakdown (subtotal, shipping, tax, addons, total)
  • Available addon offers and current selections
  • Cart-level metadata and schema version

Authentication

string
required
Device authentication token to identify and map the session

Path Parameters

string
required
Domain of the merchant website (e.g., staging.luma.gift)

Response

string
Unique identifier for the shopping cart session
string
Platform identifier (e.g., “shopify”, “bigcommerce”, “magento”)
string
Shop identifier (merchant domain, e.g., “staging.luma.gift”)
string
Merchant display name
string
Current cart status (e.g., “active”)
array
Array of products currently in the cart
array
Array of shipment groups, each containing line items with similar fulfillment requirements
object
Available addon services and current selections
object
Subtotal of all line items
object
Total shipping cost across all shipments
object
Total tax amount
object
Total cost of selected addons
object
Grand total including all costs
object
Shipping address information (when address is set)
string
Payment handle identifier (when payment is configured)
array
Available payment methods for checkout
array
Cart notices providing information about cart state and issues
string
Cart schema version (“2.0”)

Code Examples

Error Responses

Invalid request format or missing required headers
Invalid or expired authentication token
Cart does not exist for the given domain
Store service unavailable or other processing error