Skip to main content
POST
Subscribe a cart item

Path Parameters

cart_token
string
required

Cart token

item_id
integer
required

Cart item ID

Body

application/json
subscription_plan_id
integer | null

Subscription plan to put the item on. Omit or send null to use the product's default plan.

Response

The item is subscribed. Returns the updated cart.

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