Configuration
Get cart configuration and mint a session token
Validates the publishable token + origin, then returns the cart configuration including token — the session Bearer token used by all checkout mutations.
get/cart-configuration
Request
- Base URLhttps://ps.shoppable.com
- AuthAPI key in header Cart-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Parentstring
Origin/parent domain; must match the cart's allowlist. Derived from window.location in browsers.
Response
Cart configuration
Example response
{
"currency": "USD",
"locale": "en-US"
}Changes
No recorded changes to this operation across all 1 revision of this API.