---
title: "Get cart configuration and mint a session token"
method: GET
path: "/cart-configuration"
tags: ["Configuration"]
---

# Get cart configuration and mint a session token

`GET /cart-configuration`

## Request

- Base URL: `https://ps.shoppable.com`
- URL: `https://ps.shoppable.com/cart-configuration`
- Auth: API key in header `Cart-Token`
- TypeScript: <https://skmtc.dev/shoppable/apis/shoppable-checkout-api/docs/cart-configuration/get.ts> (a function with typed inputs; its response is checked against the schema)

Validates the publishable token + origin, then returns the cart
configuration including `token` — the session Bearer token used by all
checkout mutations.

## Headers

- `Parent` string

## Response `200`

Cart configuration

- CartConfiguration
  - `id` string, required
  - `token` string, required: Session Bearer token for checkout mutations.
  - `currency` string
  - `locale` string
  - `merchants` Merchant[]
    - `merchantId` string
    - `name` string
    - `logo` string
    - `freeShippingThreshold` number
    - `shippingCost` number
    - `minimumOrderAmount` number

## Other responses

- `400`: Missing or invalid Origin/Referer/Parent header

---

[API](https://skmtc.dev/shoppable/apis/shoppable-checkout-api.md) - [All operations](https://skmtc.dev/shoppable/apis/shoppable-checkout-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shoppable/apis/shoppable-checkout-api/revisions/c9c13c2a993d?raw)
