Skip to main content
GET
/
api
/
v3
/
store
/
carts
Spree SDK
import { createClient } from '@spree/sdk'

const client = createClient({
  baseUrl: 'https://your-store.com',
  publishableKey: '<api-key>',
})

const carts = await client.carts.list({
  bearerToken: '<token>',
})
{
  "data": [
    {
      "id": "cart_gbHJdmfrXB",
      "number": "R561002699",
      "token": "hzQcBBtBok9WS9xnBHnAER2brr4vPRSWk7C",
      "email": "despina@abbottboyle.com",
      "customer_note": null,
      "currency": "USD",
      "locale": "en",
      "total_quantity": 1,
      "item_total": "10.0",
      "display_item_total": "$10.00",
      "adjustment_total": "0.0",
      "display_adjustment_total": "$0.00",
      "discount_total": "0.0",
      "display_discount_total": "$0.00",
      "tax_total": "0.0",
      "display_tax_total": "$0.00",
      "included_tax_total": "0.0",
      "display_included_tax_total": "$0.00",
      "additional_tax_total": "0.0",
      "display_additional_tax_total": "$0.00",
      "total": "110.0",
      "display_total": "$110.00",
      "gift_card_total": "0.0",
      "display_gift_card_total": "$0.00",
      "amount_due": "110.0",
      "display_amount_due": "$110.00",
      "delivery_total": "100.0",
      "display_delivery_total": "$100.00",
      "warnings": [],
      "created_at": "2026-03-28T11:44:12.058Z",
      "updated_at": "2026-03-28T11:44:12.100Z",
      "store_credit_total": "0.0",
      "display_store_credit_total": "$0.00",
      "covered_by_store_credit": false,
      "current_step": "address",
      "completed_steps": [],
      "requirements": [
        {
          "step": "payment",
          "field": "payment",
          "message": "Add a payment method"
        }
      ],
      "shipping_eq_billing_address": false,
      "discounts": [],
      "items": [
        {
          "id": "li_gbHJdmfrXB",
          "variant_id": "variant_gbHJdmfrXB",
          "quantity": 1,
          "currency": "USD",
          "name": "Product 23272",
          "slug": "product-23272",
          "options_text": "",
          "price": "10.0",
          "display_price": "$10.00",
          "total": "10.0",
          "display_total": "$10.00",
          "adjustment_total": "0.0",
          "display_adjustment_total": "$0.00",
          "additional_tax_total": "0.0",
          "display_additional_tax_total": "$0.00",
          "included_tax_total": "0.0",
          "display_included_tax_total": "$0.00",
          "discount_total": "0.0",
          "display_discount_total": "$0.00",
          "pre_tax_amount": "10.0",
          "display_pre_tax_amount": "$10.00",
          "discounted_amount": "10.0",
          "display_discounted_amount": "$10.00",
          "display_compare_at_amount": "$0.00",
          "compare_at_amount": null,
          "thumbnail_url": null,
          "option_values": [],
          "digital_links": []
        }
      ],
      "fulfillments": [
        {
          "id": "ful_gbHJdmfrXB",
          "number": "H23500198126",
          "tracking": "U10000",
          "tracking_url": null,
          "cost": "100.0",
          "display_cost": "$100.00",
          "status": "pending",
          "fulfillment_type": "shipping",
          "fulfilled_at": null,
          "items": [
            {
              "item_id": "li_gbHJdmfrXB",
              "variant_id": "variant_gbHJdmfrXB",
              "quantity": 1
            }
          ],
          "delivery_method": {
            "id": "dm_gbHJdmfrXB",
            "name": "UPS Ground",
            "code": "UPS_GROUND"
          },
          "stock_location": {
            "id": "sloc_UkLWZg9DAJ",
            "state_abbr": "STATE_ABBR_32",
            "name": "Millie Cremin",
            "address1": "1600 Pennsylvania Ave NW",
            "city": "Washington",
            "zipcode": "20500",
            "country_iso": "US",
            "country_name": "United States of America",
            "state_text": "STATE_ABBR_32"
          },
          "delivery_rates": [
            {
              "id": "dr_gbHJdmfrXB",
              "delivery_method_id": "dm_gbHJdmfrXB",
              "name": "UPS Ground",
              "selected": true,
              "cost": "100.0",
              "display_cost": "$100.00",
              "delivery_method": {
                "id": "dm_gbHJdmfrXB",
                "name": "UPS Ground",
                "code": "UPS_GROUND"
              }
            }
          ]
        }
      ],
      "payments": [],
      "billing_address": {
        "id": "addr_uw2YK1rnl0",
        "first_name": "John",
        "last_name": "Doe",
        "full_name": "John Doe",
        "address1": "36 Lovely Street",
        "address2": "Northwest",
        "postal_code": "35005",
        "city": "Herndon",
        "phone": "555-555-0199",
        "company": "Company",
        "country_name": "United States of America",
        "country_iso": "US",
        "state_text": "STATE_ABBR_36",
        "state_abbr": "STATE_ABBR_36",
        "quick_checkout": false,
        "is_default_billing": false,
        "is_default_shipping": false,
        "state_name": "STATE_NAME_36"
      },
      "shipping_address": {
        "id": "addr_OIJLhNcSbf",
        "first_name": "John",
        "last_name": "Doe",
        "full_name": "John Doe",
        "address1": "37 Lovely Street",
        "address2": "Northwest",
        "postal_code": "35005",
        "city": "Herndon",
        "phone": "555-555-0199",
        "company": "Company",
        "country_name": "United States of America",
        "country_iso": "US",
        "state_text": "STATE_ABBR_37",
        "state_abbr": "STATE_ABBR_37",
        "quick_checkout": false,
        "is_default_billing": false,
        "is_default_shipping": false,
        "state_name": "STATE_NAME_37"
      },
      "payment_methods": [],
      "gift_card": null
    },
    {
      "id": "cart_UkLWZg9DAJ",
      "number": "R602989118",
      "token": "FKvvr4nLfaqfdyHgXsffLGWRvZYUFhLqutp",
      "email": "despina@abbottboyle.com",
      "customer_note": null,
      "currency": "USD",
      "locale": "en",
      "total_quantity": 1,
      "item_total": "10.0",
      "display_item_total": "$10.00",
      "adjustment_total": "0.0",
      "display_adjustment_total": "$0.00",
      "discount_total": "0.0",
      "display_discount_total": "$0.00",
      "tax_total": "0.0",
      "display_tax_total": "$0.00",
      "included_tax_total": "0.0",
      "display_included_tax_total": "$0.00",
      "additional_tax_total": "0.0",
      "display_additional_tax_total": "$0.00",
      "total": "110.0",
      "display_total": "$110.00",
      "gift_card_total": "0.0",
      "display_gift_card_total": "$0.00",
      "amount_due": "110.0",
      "display_amount_due": "$110.00",
      "delivery_total": "100.0",
      "display_delivery_total": "$100.00",
      "warnings": [],
      "created_at": "2026-03-28T11:44:11.916Z",
      "updated_at": "2026-03-28T11:44:12.053Z",
      "store_credit_total": "0",
      "display_store_credit_total": "$0.00",
      "covered_by_store_credit": false,
      "current_step": "address",
      "completed_steps": [],
      "requirements": [
        {
          "step": "payment",
          "field": "payment",
          "message": "Add a payment method"
        }
      ],
      "shipping_eq_billing_address": false,
      "discounts": [],
      "items": [
        {
          "id": "li_UkLWZg9DAJ",
          "variant_id": "variant_UkLWZg9DAJ",
          "quantity": 1,
          "currency": "USD",
          "name": "Product 11869",
          "slug": "product-11869",
          "options_text": "",
          "price": "10.0",
          "display_price": "$10.00",
          "total": "10.0",
          "display_total": "$10.00",
          "adjustment_total": "0.0",
          "display_adjustment_total": "$0.00",
          "additional_tax_total": "0.0",
          "display_additional_tax_total": "$0.00",
          "included_tax_total": "0.0",
          "display_included_tax_total": "$0.00",
          "discount_total": "0.0",
          "display_discount_total": "$0.00",
          "pre_tax_amount": "10.0",
          "display_pre_tax_amount": "$10.00",
          "discounted_amount": "10.0",
          "display_discounted_amount": "$10.00",
          "display_compare_at_amount": "$0.00",
          "compare_at_amount": null,
          "thumbnail_url": null,
          "option_values": [],
          "digital_links": []
        }
      ],
      "fulfillments": [
        {
          "id": "ful_UkLWZg9DAJ",
          "number": "H32968497542",
          "tracking": "U10000",
          "tracking_url": null,
          "cost": "100.0",
          "display_cost": "$100.00",
          "status": "pending",
          "fulfillment_type": "shipping",
          "fulfilled_at": null,
          "items": [
            {
              "item_id": "li_UkLWZg9DAJ",
              "variant_id": "variant_UkLWZg9DAJ",
              "quantity": 1
            }
          ],
          "delivery_method": {
            "id": "dm_UkLWZg9DAJ",
            "name": "UPS Ground",
            "code": "UPS_GROUND"
          },
          "stock_location": {
            "id": "sloc_UkLWZg9DAJ",
            "state_abbr": "STATE_ABBR_32",
            "name": "Millie Cremin",
            "address1": "1600 Pennsylvania Ave NW",
            "city": "Washington",
            "zipcode": "20500",
            "country_iso": "US",
            "country_name": "United States of America",
            "state_text": "STATE_ABBR_32"
          },
          "delivery_rates": [
            {
              "id": "dr_UkLWZg9DAJ",
              "delivery_method_id": "dm_UkLWZg9DAJ",
              "name": "UPS Ground",
              "selected": true,
              "cost": "100.0",
              "display_cost": "$100.00",
              "delivery_method": {
                "id": "dm_UkLWZg9DAJ",
                "name": "UPS Ground",
                "code": "UPS_GROUND"
              }
            }
          ]
        }
      ],
      "payments": [],
      "billing_address": {
        "id": "addr_EfhxLZ9ck8",
        "first_name": "John",
        "last_name": "Doe",
        "full_name": "John Doe",
        "address1": "34 Lovely Street",
        "address2": "Northwest",
        "postal_code": "35005",
        "city": "Herndon",
        "phone": "555-555-0199",
        "company": "Company",
        "country_name": "United States of America",
        "country_iso": "US",
        "state_text": "STATE_ABBR_34",
        "state_abbr": "STATE_ABBR_34",
        "quick_checkout": false,
        "is_default_billing": false,
        "is_default_shipping": false,
        "state_name": "STATE_NAME_34"
      },
      "shipping_address": {
        "id": "addr_VqXmZF31wY",
        "first_name": "John",
        "last_name": "Doe",
        "full_name": "John Doe",
        "address1": "35 Lovely Street",
        "address2": "Northwest",
        "postal_code": "35005",
        "city": "Herndon",
        "phone": "555-555-0199",
        "company": "Company",
        "country_name": "United States of America",
        "country_iso": "US",
        "state_text": "STATE_ABBR_35",
        "state_abbr": "STATE_ABBR_35",
        "quick_checkout": false,
        "is_default_billing": false,
        "is_default_shipping": false,
        "state_name": "STATE_NAME_35"
      },
      "payment_methods": [],
      "gift_card": null
    }
  ],
  "meta": {
    "page": 1,
    "limit": 25,
    "count": 2,
    "pages": 1,
    "from": 1,
    "to": 2,
    "in": 2,
    "previous": null,
    "next": null
  }
}

Authorizations

x-spree-api-key
string
header
required

Publishable API key for store access

Authorization
string
header
required

JWT token for authenticated customers

Headers

x-spree-api-key
string
required
Authorization
string
required

Query Parameters

page
integer

Page number (default: 1)

limit
integer

Number of results per page (default: 25, max: 100)

sort
string

Sort order. Prefix with - for descending. Values: created_at, -created_at, updated_at, -updated_at

q[created_at_gt]
string

Filter by created after date (ISO 8601)

q[updated_at_gt]
string

Filter by updated after date (ISO 8601)

expand
string

Comma-separated associations to expand (items, fulfillments, payments, discounts, billing_address, shipping_address, gift_card, payment_methods). Use "none" to skip associations.

fields
string

Comma-separated list of fields to include (e.g., total,amount_due,item_count). id is always included.

Response

carts listed