Inbound notice (create)
商品照会は実データです。注文プレビューと送料見積もりは注文の作成・支払いを行いません。仕入れ注文の作成は実際の業務注文を作成し、仕入れ・発送の支払いは実資金を使う可能性があります。入庫通知は倉庫記録を作成し、発送作成は倉庫作業を依頼します。本番有効化、注文、金額、アカウントを確認してください。業務 ID と指定の
Idempotency-Keyを保存し、結果が不明な場合は再決済前に元の処理を照会してください。
Identity: Create returns a single
package_id(pkg_*). There is no separateinbound_id.
POST /v1/fulfillment/inbounds/create — submit an inbound notice so the warehouse can expect a domestic shipment (tracking number + items + optional value-added services).
Requires warehouse fulfillment (Portal authorization). Self-fulfillment → 403 FULFILLMENT_MODE_NOT_SUPPORTED.
Scope: shipment:create.
Request body
{
"tracking_number": "YT1234567890",
"carrier": "YTO",
"package_count": 1,
"total_value": 128.5,
"currency": "CNY",
"external_order_id": "MY-ORD-001",
"supplier_order_id": "1688-xxx",
"remark": "fragile",
"sender": {
"name": "Zhang San",
"phone": "13800000000",
"country_code": "CN",
"province": "Zhejiang",
"city": "Hangzhou",
"district": "Yuhang",
"postcode": "310000",
"address": "…"
},
"items": [
{
"name": "Cotton T-Shirt",
"quantity": "2",
"unit_price": "64.25",
"currency": "CNY",
"hs_code": "610910",
"image_url": "https://example.com/t.jpg"
}
],
"services": [
{
"service_code": "photo",
"quantity": 1
}
]
}| Field | Required | Notes |
|---|---|---|
tracking_number | Yes | Domestic carrier tracking number |
package_count | Yes | Number of physical packages |
total_value | Yes | Declared total value (face value, not fen) |
currency | No | Default CNY. Supported: CNY, USD, KRW |
items[] | Yes | Line items; quantity and unit_price are strings |
services[] | No | { service_code, quantity } — inbound-stage VAS only |
external_order_id | No | Unique per app |
carrier / sender / remark / supplier_order_id | No | Optional metadata |
Money: Submit face amounts + currency. Unlike shipment routes, this response does not use monetary_unit: CNY_minor and Gateway does not convert to fen.
Success response
HTTP 201:
{
"success": true,
"tracking_number": "YT1234567890",
"status": "pending_receive",
"package_count": 1,
"external_order_id": null,
"created_at": "2026-08-16T07:00:00.000Z",
"request_id": "req_…"
}Cancel inbound
DELETE /v1/fulfillment/inbounds/{id} accepts the HioBuy package ID or a developer external package/order identifier supported by the warehouse. The value is forwarded unchanged as packageNum. Numeric-only values are reserved for internal IDs; prefix developer identifiers, for example pkg_MY-ORD-001.
Errors
See Errors — Inbound / VAS group. Gate code: FULFILLMENT_MODE_NOT_SUPPORTED (maps draft FULFILLMENT_NOT_ENABLED).
Related
Get Support
Need integration help? Contact Developer Support at support@hiobuy.com · Response within 1–2 business days