Ever Connect
v1.4.0中文·EN·한국어Sign inRequest access
Carts

Remove one SKU from the cart

DEL/api/v1/carts/{account}/lines/{sku}Token requiredcart:writewrite2 pts

Path parameters

NameTypeDescription
account requiredstringCart owner account (the OMS site login, e.g. 100470admin).
max length 64
sku requiredstringSKU / barcode — the colour + size level, e.g. OB0021611. For the whole style use product_code instead.
max length 64

Response

The envelope is decided by the HTTP status alone: 2xx with { data: … } (lists also carry page / page_size / has_more or total_count); 4xx / 5xx with { error: { code, message, hint, request_id, doc_url } }.

Send an Idempotency-Key header (any unique string, e.g. a UUID) on writes: a network retry never creates a second order. Orders are drafts by default until a person confirms them in the ERP.