文档
测试

入库委托新建

POST
https://oms.fulfillment.keythus.com/api/v1/fulfillment/receiving/create

请求头

参数名
类型
描述
必填
content-type
string
content-type
必填

请求参数

参数名
类型
描述
必填
apiKey
string
Api Key
必填
apiSecret
string
Api Secret
必填
sign
string
签名
必填
timestamp
string
时间戳
必填
data
object
数据
必填
referenceNumber
string
关联单号
必填
referenceType
string
关联类型(参考基础信息->入库类型)
必填
originalCarrier
string
承运商
必填
originalCarrierNumber
string
承运商单号
必填
fulfillmentWarehouse
string
物流仓库
必填
cargoAttribute
string
货物特性(参考基础信息->货物特性)
必填
cargoType
string
货物类型(参考基础信息->货物类型)
必填
totalPieces
int
总件数
必填
totalQuantity
int
总数量
必填
totalPrice
decimal
总价格
必填
totalWeight
decimal
总重量
必填
currency
string
币种
必填
remark
string
备注
必填
items
object
货品明细
必填
productCode
string
货品编码
必填
quantity
int
货品数量
必填
cartonIndex
int
分箱序号
必填

响应参数

参数名
类型
描述
必填
success
bool
结果
必填
code
int
编码
必填
msg
string
消息
必填
language
string
语言
必填
count
int
数量
必填
data
string
业务单号
必填

说明 / 示例

1.请求报文: { "apiKey":"${apiKey}", "apiSecret":"${apiSecret}", "sign":"${sign}", "timestamp":"${timestamp}", "data":{ "businessType":0, "referenceNumber":"123423432432", "referenceType":20, "originalCarrier":"DHL", "originalCarrierNumber":"2432432432432", "fulfillmentWarehouse":"US01", "cargoAttribute":"G", "cargoType":"P", "totalPieces":5, "totalQuantity":500, "totalPrice":500, "currency":"USD", "totalWeight":114, "remark":"", "items":[ { "productCode":"6925900421813", "quantity":100, "cartonIndex":1 }, { "productCode":"6971574890059", "quantity":100, "cartonIndex":2 }, { "productCode":"6925900421813", "quantity":100, "cartonIndex":3 }, { "productCode":"6971574890059", "quantity":100, "cartonIndex":4 }, { "productCode":"6971574890059", "quantity":100, "cartonIndex":5 } ] } } 2.响应报文: { "success":true, "code":0, "msg":"成功", "language":"zh", "count":1, "data":"CN205-REC2003240001" }