Skip to main content
POST
Subscribes a cart item

Path Parameters

cart_token
string
required
item_id
string
required

Query Parameters

fluid_shop
string

The domain of your Fluid shop (excluding the scheme)

fluid_session
string

Session token

Body

application/json

Subscription parameters

subscription_plan_id
integer

ID of the subscription plan to apply. Optional if the product has a default subscription plan configured; required otherwise (returns 422 when missing and no default exists).

Response

Item subscribed successfully

cart
object
required
meta
object