Update a cart session
Partially update a cart session: its lines and the shopper identity; an absent field keeps its value. - Authenticated with the publishable storefront key. - Amounts are NEVER taken from the body: a unit price sent is ignored and the server resolves every line price again. - An EXPIRED, already ordered or ABANDONED session each rejects the call with its own business-rule error; a session of another company answers as not found.
Returns the session with server amounts.
Your API key as a bearer token: fact_live_… in production, fact_test_… in sandbox. See the authentication guide.
In: header
Path Parameters
Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).
uuidPublic identifier (UUID v7) of the storefront session.
uuidHeaders
Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.
dateRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json