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

Data model

The domain model behind the business: entities, fields, relations. Only externally visible fields are listed. Machine-readable JSON-LD is at /ontology.

Relations

ProducthasManySkuA style has several colour / size variants
SkuhasStockInWarehouseA SKU has stock in each warehouse (Stock)
StockrefersToSkuA stock row refers to one SKU
StockbelongsToWarehouseEvery stock row carries its warehouse_code
ChannelhasAccessToWarehouseWarehouses a channel may access (allowlist)
ChannelhasPriceForProductA channel's own price for a style (Price)
OrderbelongsToChannelAn order belongs to a channel (ownership check)
DropshipOrderbelongsToChannelA drop-ship order belongs to a channel
ShipmentbelongsToChannelA shipment belongs to a channel
ShipmentbelongsToOrderA shipment comes from a wholesale order (order_id)
StockReservationbelongsToOrderA reservation comes from a wholesale order (order_id); confirming an order creates the reservation, shipping creates the shipment
StockReservationbelongsToChannelA reservation belongs to a channel
CartbelongsToChannelA cart (via account) belongs to a channel
TransactionbelongsToChannelA transaction is booked against one channel account
TransactionrefersToOrderMost transactions carry an order number and a reservation number

Product Product (style)

One style code, containing several colour / size variants (SKUs).

FieldTypeDescription
product_codestringStyle code
product_namestringProduct name (English)
product_name_zhstringProduct name in Chinese (present only when set; not yet fed from upstream)
brandstringBrand
price_wholesalenumberWholesale price
price_retailnumberRetail price
currencystringCurrency (AUD / CNY)
weight_gramsintegerWeight in grams (present only when set; not yet fed from upstream)
image_urlsarrayProduct image URLs
descriptionstringSpecification description
skusarrayEvery variant of this style (Sku)

Sku SKU (barcode / variant)

One specific barcode = style × colour × size.

FieldTypeDescription
skustringSKU / barcode
product_codestringOwning style code
color_codestringColour code
color_namestringColour name
color_name_zhstringColour name in Chinese (present only when set; not yet fed from upstream)
sizestringSize

Warehouse Warehouse

Where stock sits. warehouse_code is the single identifier used in paths, parameters and responses: AU = Australia (all warehouses) (100003); AUSYD2 = Sydney main warehouse (Rosehill) (AUSYD2); AUSYD1 = Sydney accessories warehouse (AUSYD1); CN = China (all warehouses) (500001); CHNZJ1 = Zhenjiang warehouse (CHNZJ1)

FieldTypeDescription
warehouse_codestringWarehouse code: AU / AUSYD2 / AUSYD1 / CN / CHNZJ1
namestringWarehouse name (English)
name_zhstringWarehouse name (Chinese)
countrystringCountry (AU / CN)
company_codestringOwning company code (100003 Australia / 500001 China)
typestringgroup = company-level aggregate view; physical = a real warehouse
can_shipbooleanWhether it ships directly
currencystringCurrency

Stock Stock

Live stock for one SKU in one warehouse (with a price snapshot). Whole-warehouse, by-style, by-SKU and incremental queries all return this shape.

FieldTypeDescription
warehouse_codestringWarehouse (carried on every row)
skustringSKU
product_codestringStyle code
product_namestringProduct name
color_codestringColour code
color_namestringColour
sizestringSize
brandstringBrand
quantity_on_handintegerQuantity on hand
quantity_availableintegerAvailable quantity (on hand − reserved)
price_wholesalenumberWholesale price
price_retailnumberRetail price
currencystringCurrency
expected_arrival_datestringExpected arrival date (only when something is in transit)
quantity_incomingintegerQuantity in transit (only when something is in transit)

Channel Channel (customer)

A wholesale customer. The token carries the channel code; what it may call is set by its roles and warehouse allowlist.

FieldTypeDescription
channel_codestringChannel code (customer identity)
regionstringDefault region au / cn
rolesarrayRoles ({ROLES})

Price Channel price

One channel's price for one style (per-channel, not the single price carried in the stock rows).

FieldTypeDescription
warehouse_codestringWarehouse
channel_codestringChannel
product_codestringStyle code
price_wholesalenumberThis channel's wholesale price
price_retailnumberRetail price
price_settlementnumberSettlement price

Order Wholesale order

Wholesale ordering and lookup; belongs to one channel. What you send when ordering is what you get back when reading.

FieldTypeDescription
order_idstringOrder id
warehouse_codestringWarehouse
linesarrayLines [{sku, quantity}]
statusstringStatus: draft / confirmed / cancelled
status_rawintegerRaw status code
created_datestringDocument date
notestringNote
channel_codestringOwning channel (ownership check: you only see your own)

DropshipOrder Drop-ship order

Drop-ship ordering and lookup; belongs to one channel, carries the recipient. One SKU per order.

FieldTypeDescription
dropship_order_idstringDrop-ship order id
serial_numberstringSerial number
client_order_numberstringYour own order number
warehouse_codestringWarehouse
skustringSKU
quantityintegerQuantity
quantity_allocatedintegerQuantity allocated
quantity_shippedintegerQuantity shipped
recipientobjectRecipient {name, phone, address, country_code, state, city, postal_code}
senderobjectSender {name, phone}
shipping_methodstringShipping method normal / express / ems
carrierstringCarrier
tracking_numberstringTracking number
shippedbooleanShipped or not
shipped_datestringShip date
statusstringStatus: pending / shipped / intercepted / cancelled
status_rawintegerRaw status code
paidbooleanPaid or not
price_settlementnumberSettlement price
amount_shippingnumberShipping cost
channel_codestringOwning channel

Shipment Shipment

A shipment; belongs to one channel. Tracking hangs under it.

FieldTypeDescription
shipment_idstringShipment id
order_idstringSource wholesale order id
reservation_idstringSource reservation id
warehouse_codestringWarehouse
statusstringStatus: shipped
tracking_numberstringTracking number
linesarrayLines
channel_codestringOwning channel

StockReservation Stock reservation

Stock locked for a channel; belongs to that channel.

FieldTypeDescription
reservation_idstringReservation id
order_idstringSource wholesale order id
warehouse_codestringWarehouse
statusstringStatus: reserved / cancelled / confirmed
shippedbooleanShipped or not
linesarrayLines [{sku, quantity}]
channel_codestringOwning channel

Cart Cart

A cart keyed by OMS account (the account belongs to a channel).

FieldTypeDescription
accountstringOMS account
linesarrayItems [{sku, quantity}]
channel_codestringOwning channel

Transaction Account transaction

One money movement on a channel account: top-up, payment or refund. The balance is their running total.

FieldTypeDescription
transaction_idstringTransaction number (14 digits — same shape as a dropship serial number, so identification returns candidates rather than guessing)
transaction_typestringType: recharge / payment / refund
amountnumberAmount (sign follows the type)
currencystringCurrency
balance_afternumberBalance after this entry — the chain of balances can be checked end to end
order_idstringRelated order number (present only when there is one)
reservation_idstringRelated reservation number (present only when there is one)
created_atstringWhen upstream processed it — not when it happened: back-dated entries land on the day they were entered
channel_codestringOwning channel (used for the ownership check: you only see your own)