Lingxing
切换旧版

查询亚马逊源报表 - 所有订单

POST/erp/sc/data/mws_report/allOrders

查询 All Orders Report By last update 报表

接口信息

API Path请求协议请求方式令牌桶容量
/erp/sc/data/mws_report/allOrdersHTTPSPOST10

请求参数

sidinteger必填
店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】
date_typeinteger
时间查询类型:【默认1】
1 下单日期
2 亚马逊订单更新时间
start_datestring必填
亚马逊当地下单时间,左闭区间,格式:Y-m-d
end_datestring必填
亚马逊当地下单时间,右开区间,格式:Y-m-d
offsetinteger
分页偏移量,默认0
lengthinteger
分页长度,默认1000

请求示例

{
    "sid": 109,
    "date_type": 1,
    "start_date": "2020-04-01",
    "end_date": "2024-08-05",
    "offset": 0,
    "length": 1000
}

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
消息提示
示例 success
error_detailsarray<any>必填
错误信息
request_idstring必填
请求链路id
示例 2C1A1C68-395F-C1A0-5639-9AF0A5BE08A4
response_timestring必填
响应时间
示例 2020-05-18 11:23:47
dataarray<object>必填
响应数据
隐藏子属性
amazon_order_idstring必填
亚马逊订单号
示例 028-0316583-1645130
merchant_order_idstring必填
卖家为订单提供的唯一编号
示例 028-0316583-1645130
last_updated_timestring必填
订单最近更新时间
purchase_datestring必填
下单日期-格式化当地时间(当地时间, 时区)
示例 2018-11-04T07:58:08+00:00
purchase_date_localestring必填
下单日期-对应亚马逊当地日期(不建议使用)
示例 2018-11-04
purchase_date_localstring必填
下单日期-店铺当地时间
示例 2018-11-04 08:58:08
shipment_datestring必填
发货时间-UTC时间
示例 2018-11-04 08:58:08
order_statusstring必填
订单的当前状态
示例 Shipped
fulfillment_channelstring必填
订单的配送方式:
Amazon 亚马逊配送 (AFN)
Merchant 卖家自行配送 (MFN)
示例 Amazon
sales_channelstring必填
下单渠道
示例 Amazon.de
order_channelstring必填
CBA/WBA 订单下单的子渠道
urlstring必填
链接
ship_service_levelstring必填
配送服务类型
示例 Standard
skustring必填
MSKU
示例 DA189076B1
asinstring必填
ASIN
示例 B078W791QLD
product_namestring必填
品名
示例 Drehteller Cake Decorating Turntable
item_statusstring必填
该商品在订单内的当前状态
示例 Shipped
quantitynumber必填
此商品的购买数量
示例 1
currencystring必填
币种
示例 EUR
item_pricestring必填
买家为商品支付的金额
示例 13.99
item_taxstring必填
买家为商品税支付的金额
shipping_pricestring必填
买家支付的运费金额
示例 1.0
shipping_taxstring必填
买家为运费税支付的金额
gift_wrap_pricestring必填
买家为礼品包装支付的金额
gift_wrap_taxstring必填
买家为礼品包装税支付的金额
item_promotion_discountstring必填
应用于订单商品的所有促销折扣的总和
ship_promotion_discountstring必填
应用于配送的促销折扣
示例 1.0
promotion_idsstring必填
应用于此订单商品的所有商品促销的列表
示例 DE Core Free Shipping 2018/04/24 20-00-00
pidinteger必填
本地产品id
示例 212
local_skustring必填
本地产品SKU
示例 Sun002-FBA63
local_namestring必填
本地产品品名
sidinteger必填
店铺id
示例 3
totalinteger必填
总数
示例 1

返回成功示例

{
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "F79152AD-CBC0-846C-DA15-54D7BFC5C835",
    "response_time": "2021-04-19 18:33:51",
    "data": [
        {
            "amazon_order_id": "111-01111-6646648",
            "merchant_order_id": "111-011110-6646648",
            "last_updated_time": 1602964702,
            "purchase_date": "2020-10-17T00:31:51+00:00",
            "purchase_date_locale": "2020-10-16",
            "purchase_date_local": "2020-10-16 17:31:51",
            "shipment_date": "2020-10-17T12:58:15-07:00",
            "order_status": "Shipped",
            "fulfillment_channel": "Amazon",
            "sales_channel": "Amazon.com",
            "order_channel": "",
            "url": "",
            "ship_service_level": "Expedited",
            "sku": "T1-1111-59G8",
            "asin": "B0711113",
            "product_name": "P",
            "item_status": "Shipped",
            "quantity": 1,
            "currency": "USD",
            "item_price": "7.99",
            "item_tax": "0.82",
            "shipping_price": "",
            "shipping_tax": "",
            "gift_wrap_price": "",
            "gift_wrap_tax": "",
            "item_promotion_discount": "",
            "ship_promotion_discount": "",
            "promotion_ids": "",
            "pid": 1,
            "local_sku": "视觉111",
            "local_name": "00.100",
            "sid": 1
        }
    ],
    "total": 2260
}