跳转到主要内容
POST
Create consolidate shipping order
此页面由 AI 自动翻译。API 技术规格以英文呈现为标准。如有任何疑问,请参阅英文版本。
创建草稿 Consolidate Shipping Order。一个订单把 Return Inventory 和 FBA 库存从一个出货仓库一并寄往一个目的地。 要找目的地仓库,请调用 Get all warehouses,选择 isConsolidateShippingDestination 为 true 的仓库。目前香港仓库是唯一的 RH_WAREHOUSE 目的地。

目的地规则

不传 destinationType 时,订单为 CUSTOM_ADDRESS 订单。 customFieldMap 的键只能包含大写字母、数字、连字符和下划线。 创建之后的每个步骤,请参阅 Consolidate Shipping 流程。

校验失败

授权

x-rr-apikey
string
header
必填

Your API key

x-rr-apitoken
string
header
必填

Your API token — keep this private

请求体

application/json
outboundWarehouseId
integer
必填
destinationType
enum<string>
默认值:CUSTOM_ADDRESS

Where the order ships to. Defaults to CUSTOM_ADDRESS.

可用选项:
CUSTOM_ADDRESS,
RH_WAREHOUSE
destinationWarehouseId
integer

Destination warehouse. Required when destinationType is RH_WAREHOUSE; must be a warehouse whose isConsolidateShippingDestination is true. Ignored for CUSTOM_ADDRESS.

packagingType
enum<string>

CUSTOM_ADDRESS orders only. Ignored for RH_WAREHOUSE.

可用选项:
BOX,
PALLET
deliveryInstructions
string
shipTo
object

Ship-to address. Required when destinationType is CUSTOM_ADDRESS; ignored for RH_WAREHOUSE.

customFieldMap
object

Your own key-value pairs. Keys may contain only uppercase letters, digits, hyphen and underscore.

响应

Success

consolidateShippingOrderId
string

Consolidate shipping order ID (ULID)

consolidateShippingOrderNumber
string
outboundWarehouseId
integer<int32>
shippingFee
number<decimal>
deliveryInstructions
string | null
consolidateShippingOrderStatus
string
shipTo
object
customFieldMap
object | null