Clean Customer Cart
DELETE/cart-items/by-customer/:customerId
Removes every item from the server-side cart of a store customer. Idempotent: a customer with an empty cart returns a count of zero. Meant for payment integrations that complete a payment outside the Stripe flow and must empty the cart of an authenticated customer.
Request
Responses
- 200
- 404
Cart cleaned.
Customer not found in this store.