국제 풀필먼트 개요
/v1/fulfillment/* covers international logistics after goods are in the HIOBuy warehouse. Domestic buying: Procurement orders.
Requires warehouse fulfillment on your app (Portal authorization). Self-fulfillment apps get 403 FULFILLMENT_MODE_NOT_SUPPORTED.
Monetary unit {#monetary-unit}
Standard JSON responses on money-bearing fulfillment routes include top-level monetary_unit: "CNY_minor". All { amount, currency } fields are CNY fen (1 yuan = 100 fen). See Fulfillment response models.
API availability {#availability}
| Path | Status |
|---|---|
/v1/fulfillment/inbounds/create | Live warehouse simple-store when warehouse mode; mock in sandbox |
/v1/fulfillment/packages | Live warehouse packages/index when warehouse mode; mock in sandbox |
/v1/fulfillment/packages/{package_id} | Live warehouse packages/detail/{id} when warehouse mode; mock in sandbox |
/v1/fulfillment/packages/{package_id}/tracking | Live warehouse packages/logs/{id} when warehouse mode; mock in sandbox |
/v1/fulfillment/unclaimed-packages | Live warehouse list + claim when warehouse mode; mock in sandbox |
/v1/fulfillment/returns | Mock — return-to-seller create/list/confirm/cancel |
/v1/fulfillment/locations | Live warehouse warehouse when warehouse mode; mock in sandbox |
/v1/fulfillment/value-added-services | Live warehouse services when warehouse mode; mock in sandbox |
/v1/fulfillment/service-requests | Mock — create/list/detail/confirm |
/v1/fulfillment/shipments/{id}/intercept | Live warehouse shipments/set-exceptional when warehouse mode; mock in sandbox |
/v1/fulfillment/shipments | Live warehouse shipments/index when warehouse mode; mock in sandbox |
/v1/fulfillment/shipments/* | Available (mock / warehouse HTTP when configured) |
/v1/fulfillment/balance | Available |
/v1/shipments (legacy) | Deprecated |
End-to-end flow {#end-to-end-flow}
- Create procurement order → seller ships to warehouse
or Inbound notice for parcels you already control - Package detail / tracking → warehouse measurements / exceptions / VAS / fulfillment timeline
or Order detail →tracking_numbers[]when inbound from procurement - Freight estimate → pick
shipping_channel_code - Create shipment →
id/order_sn(exact price on create) - Pay shipment → deduct wallet
- List / detail → lightweight rows, or boxes / packing files /
timeline/ first/last-mile numbers
Optional: Intercept if you need to hold aWAIT_SHIP/SHIPPEDshipment - International tracking → scan events
Endpoint guide
| Topic | Path | Doc |
|---|---|---|
| Inbound notice | POST .../inbounds/create | Inbounds |
| Package detail / tracking / unclaimed | GET .../packages/* · unclaimed-packages | Packages |
| Returns | POST/GET .../returns · confirm/cancel | Returns |
| Locations | GET .../locations | Locations |
| Value-added services | GET .../value-added-services | VAS |
| Service requests | POST/GET .../service-requests · confirm | Service requests |
| Quick freight quote | POST .../shipping/quotes | Freight estimate |
| Create / pay / cancel / intercept | POST .../shipments/create · {id}/pay · {id}/cancel · {id}/intercept | Shipments |
| Shipment list | GET .../shipments | Shipments · list |
| Shipment detail | GET .../shipments/{id} | Shipments · detail |
| International tracking | GET .../shipments/{id}/tracking | Tracking |
| Wallet balance | GET /v1/fulfillment/balance | Balance |
| Response fields | — | Fulfillment response models |
| Item attributes | GET .../item-attributes | Freight estimate |
Warehouse-mode procurement
/v1/orders/* paths unchanged; Gateway forwards to HIOBuy. Product APIs still call marketplaces directly.
Domestic trace: order logistics trace (proxied in warehouse mode).
Errors
FULFILLMENT_MODE_NOT_SUPPORTED, SHIPMENT_CREATE_EXCEPTION, PARCEL_NOT_FOUND, EXTERNAL_ORDER_ID_ALREADY_EXISTS, SHIPMENT_ALREADY_PAID, INSUFFICIENT_BALANCE, NOT_FOUND (SHIPMENT_NOT_EXISTS), intercept codes (SHIPMENT_NOT_FOUND, SHIPMENT_NOT_INTERCEPTABLE, SHIPMENT_INTERCEPTION_ALREADY_REQUESTED) — see Errors and Shipments.
Get Support
Need integration help? Contact Developer Support at support@hiobuy.com · Response within 1–2 business days