Taobao APIs require an active paid subscription. The 7-day free trial includes 1688 and Weidian only. Calls without the required subscription return HTTP 403 with PAID_SUBSCRIPTION_REQUIRED. Upgrade in the developer center and continue using the same API key.

Procurement orders overview

Product reads retrieve real data. Order preview and shipping quotes estimate costs without creating or paying an order. Procurement creation creates a real business order; procurement payment and shipment payment can spend real funds. Inbound notices create warehouse records, and shipment creation requests warehouse processing. Confirm production activation, the intended order, amount and account before each business mutation. Persist business identifiers and use Idempotency-Key where documented; query the existing result after an uncertain response instead of submitting a new payment.

One Channel, One Seller, One Order

Each purchase order can contain multiple products or SKUs, but all items must belong to the same channel and seller.

If your customer purchases products from different sellers or channels, your application must split them into separate purchase orders before calling the HIOBuy Order API.

HIOBuy does not automatically split purchase orders and does not expose a Batch Order API for this workflow.

See purchase creation and manual procurement for seller identity, correct/incorrect examples, error codes, and Warehouse responsibilities. Procurement orders remain separate when their packages are later consolidated into one shipment. Persist every returned order_list[].order_id; top-level order_id is only the first ID.

Manual procurement API — channel=manual · jd / pinduoduo / poizon

Use the unified order list for 1688, Taobao and Weidian with start_time/end_time, time_type, timezone and page_no. Taobao supports updated-time queries only; its legacy /v1/orders/purchase/query response remains compatible.

1688 buyers can retrieve a Cross-border Pay cashier link without submitting payment. This uses native 1688 buyer order IDs, not warehouse procurement IDs, and never confirms payment or records GMV.

/v1/orders/* covers domestic procurement — orders with 1688/Taobao sellers for delivery into a China inbound address. Not international shipping; use Fulfillment after inbound.

Amounts are CNY fen (分). Set response_format per Response format.

Map product ids from Products: search/detail id → lines[].id (compatible: offer_id, Taobao mi_id); variants[].sku_id → lines[].spec_id.

Taobao id / mi_id rotates periodically. Do not cache it long-term. Re-fetch from search or detail before preview/create.

Lifecycle

  1. Preview — validate lines, prices, freight
  2. Create — place procurement order
  3. Pay — Pay the procurement order using the account selected for its mode
  4. Detail / list — track status
  5. Domestic trace — seller → warehouse
  6. Cancel — when allowed

Endpoint guide

StepPathDoc
PreviewPOST /v1/orders/previewOrder preview
CreatePOST /v1/orders/createCreate order
PayPOST /v1/orders/payPay order
1688 payment methodsPOST /v1/orders/payment-methodsPayment methods
DetailPOST /v1/orders/detailOrder detail
ListPOST /v1/orders/listOrder detail
CancelPOST /v1/orders/cancelCancel order
Domestic tracePOST /v1/orders/logistics/traceDomestic logistics trace
Taobao purchasesPOST /v1/orders/purchase/queryOrder detail
Response schemas—Order response models

Channel shortcuts: /v1/orders/1688/*, /v1/orders/taobao/* (body may omit channel).

For pay and cancel, the optional Idempotency-Key request header protects retries and concurrent calls. Use a new key for each logical operation and reuse it only for the identical request. See Pay and Cancel.

Domestic vs international logistics

LegAPI
Seller → China warehouseDomestic trace
Warehouse → overseas buyerInternational tracking

Get Support

Need integration help? Contact Developer Support at support@hiobuy.com · Response within 1–2 business days

Email support