获取入货请求处理状态
获取指定的入货请求状态。
相关URL
Newegg.com: https://api.newegg.com/marketplace/sbnmgmt/inboundshipment/shipmentstatus?sellerid={sellerid}
Neweggbusiness.com: https://api.newegg.com/marketplace/b2b/sbnmgmt/inboundshipment/shipmentstatus?sellerid={sellerid}
注:请确保您的请求URL全都是小写(除Seller ID)并且不能包含任何空格或者换行符。
参数
| 名称 | 是否必填? | 描述 | 
| sellerid | 是 | 您在新蛋商城的商家编号 | 
相关请求信息
| HTTP方式 | 是否需要认证? | 请求格式 | 回复格式 | 频率限制 | 
| PUT | 需要 | XML,Json | XML,Json | 1000 请求/分钟/商家 | 
请求文件主体
| 属性 | 是否必填? | 格式 | 描述 | 
| OperationType | 是 | String | 固定值:GetShipmentStatusRequest | 
| ShipmentID | 否 | String | 请求编号。如果请求编号已提供,其他条件将被忽略 | 
| ActionCode | 否 | Integer | 操作代码: 0.All(Default) 所有(默认) 1.Create 创建 2.Void 作废  | 
| MaxCount | 否 | Integer | 返回记录数最大值。默认为 100。
 如果你指定的值超过 100,系统将仍返回 100 条记录数。  | 
| RequestStatus | 否 | String | 已提交请求的状态 有效值: ALL (Default) 所有(默认) SUBMITTED 已提交 IN_PROGRESS 处理中 FINISHED 已完成 CANCELLED 已取消  | 
| RequestDateFrom | 否 | DateTime | 根据请求时间范围查找(太平洋标准时间) 请参考可接受时间格式  | 
| RequestDateTo | 否 | DateTime | 根据请求时间范围查找(太平洋标准时间) 请参考可接受时间格式  | 
Schema: GetShipmentStatusRequest.xsd
示例:XML,Request
PUT https://api.newegg.com/marketplace/sbnmgmt/inboundshipment/shipmentstatus?sellerid={sellerid}
Authorization: 720ddc067f4d115bd544aff46bc75634
SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D
Content-Type: application/xml
Accept: application/xml
<NeweggAPIRequest>
    <OperationType>GetShipmentStatusRequest</OperationType>
    <RequestBody>
        <GetRequestStatus>
            <RequestIDList>
                <RequestID>22AZLF9YXKT7S</RequestID>
            </RequestIDList>
            <ActionCode>1</ActionCode>
            <MaxCount>100</MaxCount>
            <RequestStatus>ALL</RequestStatus>
            <RequestDateFrom/>
            <RequestDateTo/>
        </GetRequestStatus>
    </RequestBody>
</NeweggAPIRequest>
示例:Json,Request
PUT https://api.newegg.com/marketplace/sbnmgmt/inboundshipment/shipmentstatus?sellerid={sellerid}
Authorization: 720ddc067f4d115bd544aff46bc75634
SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D
Content-Type: application/json
Accept: application/json
{
    "OperationType": "GetShipmentStatusRequest",
    "RequestBody": {
        "GetRequestStatus": {
            "RequestIDList": {
                "RequestID": [
                    "22AZLF9YXKT7S"
                ]
            },
            "ActionCode": 1,
            "MaxCount": 100,
            "RequestStatus": "ALL",
            "RequestDateFrom": "2013-5-4",
            "RequestDateTo": "2013-8-4"
        }
    }
}
回复文件主体
| 属性 | 格式 | 描述 | 
| IsSuccess | String | 用来确认获取请求状态的操作是否成功: True:成功 False:失败  | 
| OperationType | String | 固定值:GetShipmentStatusResponse | 
| SellerID | String | 卖家编号 | 
| RequestID | String | 请求编号 | 
| ActionCode | Integer | 操作代码: 1.Create 创建 2.Void 作废  | 
| RequestDate | String | 请求提交时间(太平洋标准时间) | 
| RequestStatus | String | 已提交请求的状态的有效值: SUBMITTED 已提交 IN_PROGRESS 处理中 FINISHED 已完成 CANCELLED 已取消  | 
| Memo | String | 详细的错误信息 | 
Schema: GetShipmentStatusResponse.xsd
示例: XML,Response
<?xml version="1.0" encoding="utf-8"?>
<NeweggAPIResponse>
    <IsSuccess>true</IsSuccess>
    <SellerID>A006</SellerID>
    <OperationType>GetShipmentStatusResponse</OperationType>
    <ResponseBody>
        <ResponseList>
            <ResponseInfo>
                <RequestId>22AZLF9YXKT7S</RequestId>
                <ActionCode>1</ActionCode>
                <RequestDate>07/11/2013 16:39:30</RequestDate>
                <RequestStatus>IN_PROGRESS</RequestStatus>
            </ResponseInfo>
        </ResponseList>
    </ResponseBody>
</NeweggAPIResponse>
示例: Json,Response
{
    "IsSuccess": true,
    "SellerID": "A006",
    "OperationType": "GetShipmentStatusResponse",
    "ResponseBody": {
        "ResponseList": [
            {
                "RequestId": "22AZLF9YXKT7S",
                "ActionCode": 1,
                "RequestDate": "07/11/2013 16:39:30",
                "RequestStatus": "IN_PROGRESS"
            }
        ]
    }
}
请求失败错误信息
常规HTTP错误回复,请参考回复失败错误代码列表。
更新日期:10/15/2018