Skip to main content
PUT
Choose an autoship profile for a cart

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

cart_token
string
required

Cart token

Body

application/json
subscription_tokens
string[]
required

The profile's member tokens, as the list returned them.

Minimum array length: 2
confirmation
string
required

The profile's confirmation from the list.

Response

The choice is recorded.

The cart's autoship profile choice after the write.

selected_subscription_tokens
string[] | null
required

The sorted member tokens of the chosen profile, or null after the choice is cleared.

meta
object
required