Carts
Update cart items
Update items to cart
patch/carts/{cart_id}/items
Request
- Base URLhttps://dummyHandle.shoplineapp.com/storefront-api/v1
- URLhttps://dummyHandle.shoplineapp.com/storefront-api/v1/carts/{cart_id}/items
- Auth
- API key in header X-Storefront-Token
- or API key in header X-Storefront-Token and API key in header X-Customer-Token
Path parameters
cart_idstring required
Cart identifier
Request body
Example request
{
"items": [
{
"cart_item_id": "393fe83b1c1842e58428cf65cb9bb450",
"quantity": 2
}
]
}Response
Example response
{
"error": {
"message": [
{
"code": "INVALID_ITEM",
"reason": "invalid cart item at index 0: invalid item"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.