Skip to main content
POST
Create a cart

Body

application/json
fluid_shop
string
required

Company subdomain

Example:

"acme"

country_code
string
required

ISO country code

Example:

"US"

attribution
object | null

Attribution source (dry-schema CreateAction params_schema).

items
object[]
enrollment_pack_id
integer
volume_rep_id
integer | null
origin_url
string
visitor_token
string
fairshare_id
string
session_uuid
string
order_confirmation_url
string
order_failure_url
string
immutable_items
boolean
perform_cart_calculations
boolean | null
source
string
timezone
string
member_id
string | null

Admin on-behalf ordering — the member the cart is created for.

customer_id
integer | null

Deprecated alias for the buyer; still accepted.

Response

Success

Cart response wrapper (CartBlueprinter with_associations view). Scalar totals, flags, and points are strictly typed; genuinely dynamic fields (metadata, processor-specific payment payloads) and nested associations (items, addresses, country, company) are typed as open pockets and tightened in follow-up work.

cart
object
required
meta
object
required