Carts

Create Cart

post/carts

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/carts
  • Auth: none declared

Headers

authorizationstring nullable
X-Conversion-Journey-Tokenstring nullable
API-Version'1'

Major API version. Omit or send 1 for the current v1 surface. Retired operations use RFC 9745 Deprecation and RFC 8594 Sunset headers.

Request body

commit_strategystring nullable

Reserved. Phase 1 forces 'atomic'.

created_viastring nullable

Creator hint for analytics (e.g. 'gui', 'cursor', 'mcp', 'embed').

watch_landing_tokenstring nullable

Signed availability-watch landing token from an alert booking link. A valid token for this property stamps checkout on that alert. A bad or mismatched token is ignored.

embed_integratorstring nullable

Embed attribution: the non-secret data-integrator id (e.g. 'ccia-nsw') self-reported by the embeddable-checkout iframe. Only meaningful when created_via='embed'.

embed_parent_originstring nullable

Embed attribution: the aggregator origin that framed the widget, resolved by the iframe from ancestorOrigins / document.referrer. Only meaningful when created_via='embed'.

Response

Successful Response

cart_tokenstring nullable

Plaintext cart token — returned ONCE on create and link-user.

Changes

No recorded changes to this operation across all 1 revision of this API.