Skip to main content
POST
Create a cart session token

Authorizations

Authorization
string
header
required

Server-side scoped Ignyt API key.

Headers

authorization
string | null
x-ignite-app-id
string | null

Path Parameters

cart_id
string
required

Body

application/json
allowed_origin
string | null

Browser origin allowed to use the token, for example https://shop.example.com.

Example:

"https://shop.example.com"

ttl_seconds
integer
default:3600

Token lifetime in seconds.

Required range: 60 <= x <= 86400

Response

Successful Response