Create a cart session token
Issues a short-lived token that a browser can use for this one cart (lines, address, coupons, quote, submit and purchase status), optionally restricted to one allowed_origin. Requires an API key with both cart:write and checkout:write; a cart session token cannot issue further tokens. The token is shown once and expires after ttl_seconds (60–86400).
POST
Create a cart session token
Body
application/json
Response
Successful Response
A browser token for one cart. The token is returned only once.