Cart
Add or increment a cart line item
Upserts on (product_id, variant_id, tender) — same triple = quantity increments rather than creating a duplicate row. Enforces stock (skipped when inventory_policy='continue' or track_quantity=false) and, in credits-mode, a wallet-balance gate.
post/api/v1/cart/items
Request
- Base URL: https://makeup.land
- URL: https://makeup.land/api/v1/cart/items
- Auth: HTTP bearer and API key in query parameter phone
Headers
Idempotency-Keystring
Optional client-generated idempotency token (recommended: UUIDv4). Retries with the same key within 24h replay the original response.
Request body
Response
Line upserted
Changes
No recorded changes to this operation across all 1 revision of this API.