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-Keywhere 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_idrotates periodically. Do not cache it long-term. Re-fetch from search or detail before preview/create.
Lifecycle
- Preview — validate lines, prices, freight
- Create — place procurement order
- Pay — Pay the procurement order using the account selected for its mode
- Detail / list — track status
- Domestic trace — seller → warehouse
- Cancel — when allowed
Endpoint guide
| Step | Path | Doc |
|---|---|---|
| Preview | POST /v1/orders/preview | Order preview |
| Create | POST /v1/orders/create | Create order |
| Pay | POST /v1/orders/pay | Pay order |
| 1688 payment methods | POST /v1/orders/payment-methods | Payment methods |
| Detail | POST /v1/orders/detail | Order detail |
| List | POST /v1/orders/list | Order detail |
| Cancel | POST /v1/orders/cancel | Cancel order |
| Domestic trace | POST /v1/orders/logistics/trace | Domestic logistics trace |
| Taobao purchases | POST /v1/orders/purchase/query | Order 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
| Leg | API |
|---|---|
| Seller → China warehouse | Domestic trace |
| Warehouse → overseas buyer | International tracking |
Get Support
Need integration help? Contact Developer Support at support@hiobuy.com · Response within 1–2 business days