Remove cart variant
Cart
Remove cart variant
Remove a specific variant line item from the shopper’s cart.
DELETE
Remove cart variant
Request
Path parameters
| Parameter | Type | Description |
|---|---|---|
productId | string | Product identifier that owns the variant line item. |
variantId | string | Variant identifier to remove within the product. |
Headers
| Header | Type | Description |
|---|---|---|
Authorization | string | Provide the customer token as Bearer <jwt>. |
x-shop-id | string | Identify the shop that owns the cart. |
Successful response
Error response
Authorizations
JWT issued by the Salesive Store API for authenticated shoppers.
Optional storefront identifier sent as a header to scope responses to a specific shop. Try It requests remember this value once provided.
Headers
Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.
Path Parameters
Product identifier for the cart item.
Variant identifier for the cart item.

