Admin Customers
Remove an item from a customer's active cart
Changed onRemoves an item from the customer's own storefront cart (carts.is_active = 1) and recollects the cart totals. The item must belong to the customer's active cart.
delete/customers/{customerId}/cart-items
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
customerIdinteger required
Customer ID
Request body
Example request
{
"itemId": 1701
}Response
Cart item removed.
Changes
- info
endpoint added
- info