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

Create a wholesale order (draft by default; auto_confirm=true submits for review)

POST/api/v1/ordersToken requiredorder:writewrite2 pts

Request body (JSON)

FieldTypeDescription
warehouse_code requiredstringWarehouse code: AU (Australia, all warehouses — aggregate view), AUSYD2 (Sydney main, Rosehill), AUSYD1 (Sydney accessories), CN (China, all warehouses — aggregate view), CHNZJ1 (Zhenjiang). Full list: GET /api/v1/warehouses.
lines requiredarray<object>Line array, each { sku, quantity }. At least one; quantity=0 removes the line when adjusting a reservation.
1–1000
lines[].sku requiredstringSKU / barcode — the colour + size level, e.g. OB0021611. For the whole style use product_code instead.
max length 64
lines[].quantity requiredintegerQuantity, a positive integer, e.g. 2. In reservation adjustments / carts, 0 removes the line.
0–99999
notestringRemark (optional, up to 500 characters).
max length 500
client_order_numberstringThe order number in your own system (the one you sent when creating the drop-ship order).
max length 64
auto_confirmbooleanSubmit immediately (optional). Omitted = draft only, someone confirms it in the ERP before it takes effect — this default is intentional. A submitted drop-ship order is allocated at once and can no longer be edited.
shippingobjectShipping info (required when placing a wholesale order signed in with an OMS account). Inside: shipping_method_id (see GET /api/v1/shipping-methods), address_id (see GET /api/v1/addresses), carrier_id (optional), pickup_at (only for pickup). Omit the whole object to use the defaults set on your OMS account; if none are set you get an error pointing here.
shipping.shipping_method_idstringShipping method id, from GET /api/v1/shipping-methods.
max length 64
shipping.carrier_idstringCarrier id (optional), from GET /api/v1/carriers.
max length 64
shipping.address_idstringDelivery address id, from GET /api/v1/addresses. The address book is maintained on the OMS site under User → Preferences.
max length 64
shipping.pickup_atstringPickup time (optional, only for the pickup method), e.g. 2026-09-10T14:00:00.
max length 32

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.