Cart

Clear all carts for a customer

Idempotent — deletes ALL carts (not only the most-recent one) for the phone-keyed customer. Useful after checkout or when the customer asks to start over.

delete/api/v1/cart

Request

  • Base URL: https://makeup.land
  • URL: https://makeup.land/api/v1/cart
  • Auth: HTTP bearer and API key in query parameter phone

Query parameters

phonestring required

Phone number in E.164 format, e.g. +972501234567

Headers

Idempotency-Keystring

Optional client-generated idempotency token (recommended: UUIDv4). Retries with the same key within 24h replay the original response.

Response

Carts cleared

oktrue required
cart_idstring nullable required
cleared_cart_idsstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.