Skip to main content
POST
/
v3
/
stores
/
{store_id}
/
customers
/
me
/
cart
/
items
Add an item to the authenticated customer cart
curl --request POST \
  --url https://api.myscalev.com/v3/stores/{store_id}/customers/me/cart/items \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "variant_id": 123,
  "quantity": 1
}
'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

store_id
string
required

Store unique_id.

Body

application/json
variant_id
required
quantity
integer
default:1
Required range: x >= 1

Response

Success

Raw single-resource success payload for v3.