Lingxing
切换旧版

同步亚马逊货件到ERP

POST/erp/sc/routing/fba/shipment/syncShipment

接口信息

API Path请求协议请求方式令牌桶容量
/erp/sc/routing/fba/shipment/syncShipmentHTTPSPOST1

请求参数

sidinteger必填
店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】
shipment_idsarray<any>必填
货件编号
sync_anywayinteger
报错是否继续:0 否【默认】,1 是
当系统检测到货件归属国家与店铺不符时,会提示报错,此时传1则按照店铺进行同步

请求示例

{
    "sid": 16,
    "shipment_ids": ["FBA16ZK1LLX5"],
    "sync_anyway": 0
}

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
消息提示
示例 success
error_detailsstring必填
错误信息
request_idstring必填
请求链路id
示例 EE6DEBE6-4CA9-A727-5211-1E5A6B81109F
response_timestring必填
响应时间
示例 2023-05-31 19:54:54
dataobject必填
响应数据
隐藏子属性
succ_numinteger必填
同步成功数量
示例 1
fail_numinteger必填
同步事变数量
示例 2
errorarray<object>必填
失败具体原因
隐藏子属性
shipment_idstring必填
失败货件编号
示例 xxx
detailstring必填
原因
示例 货件单号不存在
is_error_sellerinteger必填
是否是店铺不匹配:0 否,1 是
示例 0
totalinteger必填
总数
示例 0

返回成功示例

{
    "code": 0,
    "message": "success",
    "error_details": null,
    "request_id": "F9FEA9AF-8CFC-7368-B98E-5B6910ABCAD7",
    "response_time": "2023-06-07 18:10:12",
    "data": {
        "succ_num": 1,
        "fail_num": 0,
        "error": []
    },
    "total": 0
}