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
}
'{}No OAuth machine scope. Customer-authenticated storefront endpoint.
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
}
'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Store unique_id.
Success
Raw single-resource success payload for v3.