Skip to main content
POST
/
cart
/
setVariable
/
{id}
Set or update the variable for an item in the cart
curl --request POST \
  --url https://v3.minestorecms.com/api/cart/setVariable/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "var_id": 123,
  "var_value": "Large"
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

Body

application/json
var_id
integer
required
Example:
var_value
string
required
Example:

Response

success
boolean