Cart

Remove a cart line item

Idempotent. Removing an unknown line item also returns 200.

delete/api/v1/cart/items/{lineItemId}

Request

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

Path parameters

lineItemIdstring required

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

Line removed

oktrue required
cart_idstring required
line_item_idstring required

Changes

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