Lingxing
切换旧版

查询亚马逊标发结果

POST/pb/mp/order/getFulfillmentResult

此接口用于查询亚马逊标发操作的结果。单次请求最多可查询10条数据。

接口信息

API Path请求协议请求方式令牌桶容量
/pb/mp/order/getFulfillmentResultHTTPSPOST10

请求参数

seller_idstring必填
亚马逊店铺id ,对应查询亚马逊店铺列表接口对应字段【seller_id】
task_idarray<any>必填
任务id【提交标发接口返回】,单次请求最多支持查询10个任务ID。

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
消息提示
示例 操作成功
request_idstring必填
请求链路id
示例 fb53cd0f457f40c5951b8619b77776a8.151.16759105764670001
response_timestring必填
响应时间
示例 2023-02-16 10:33:40
dataarray<object>必填
响应数据
隐藏子属性
resultarray<object>必填
多个订单结果集
隐藏子属性
message_idstring必填
亚马逊返回,提交过来的记录id
示例 2725
result_codestring必填
亚马逊返回,处理结果code
示例 Error
result_message_codestring必填
亚马逊返回,消息code
示例 25
result_descriptionstring必填
亚马逊返回,错误描述
示例 xxxx
task_idstring必填
任务id
示例 1003085
status_codestring必填
任务状态
示例 Complete
ship_timestring必填
标发时间
示例 1675848605
processing_summaryobject必填
结果汇总
隐藏子属性
messages_processedstring必填
亚马逊返回,处理个数
示例 1
messages_successfulstring必填
亚马逊返回,成功个数
messages_with_errorstring必填
亚马逊返回,失败个数
示例 1
messages_with_warningstring必填
亚马逊返回,告警个数
failurestring必填
请求失败原因
示例 null

返回成功示例

{
    "code": 0,
    "message": "操作成功",
    "request_id": "fb53cd0f457f40c5951b8619b77776a8.151.16759105764670001",
    "response_time": "2023-02-16 10:33:40",
    "data": [
        {
            "result": [
                {
                    "message_id": "2725",
                    "result_code": "Error",
                    "result_message_code": "25",
                    "result_description": "We are unable to process the XML feed because one or more items are invalid."
                }
            ],
            "task_id": "1003085",
            "status_code": "Complete",
            "ship_time": "1675848605",
            "processing_summary": {
                "messages_processed": "1",
                "messages_successful": "0",
                "messages_with_error": "1",
                "messages_with_warning": "0"
            },
            "failure": null
        }
    ]
}

返回失败示例

{
    "code": 102,
    "message": "taskId任务id数组不能为空",
    "response_time": "2023-02-16 10:32:57",
    "request_id": "a740aa69a2fa4d2fb9cabfc81f15ccdd.149.16843781969788627",
    "data": null
}