Skip to main content
POST
Set or update the variable for an item in the cart

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the item for which the variable is being set.

Body

application/json
var_id
integer
required

The ID of the variable to be set for the item.

Example:

123

var_value
string
required

The value of the variable to be applied to the item.

Example:

"Large"

Response

Successfully set or updated the variable for the item in the cart.

success
boolean

Indicates if the operation was successful.