Lingxing
切换旧版

查询报告详情 - Walmart Payment

POST/cepf/fms/openapi/walmartPayment/queryPage

接口信息

API Path请求协议请求方式令牌桶容量
/cepf/fms/openapi/walmartPayment/queryPageHTTPSPOST10

请求参数

offsetinteger
分页偏移量,默认0
lengthinteger
分页长度,默认15,上限200
store_idarray<any>必填
店铺id
report_idstring
报告id
【时间范围 与 报告id 二选一必填】
transaction_posted_timestamp_startstring
开始时间,格式:Y-m-d
【时间范围 与 报告id 二选一必填】
transaction_posted_timestamp_endstring
结束时间,格式:Y-m-d
【时间范围 与 报告id 二选一必填】

请求示例

{
    "length": 15,
    "offset": 0,
    "report_id": "MI7cc13c6a4f7d8769629e807e8263fc87",
    "store_id": [
        110000000018008000,
        110000000018008001
    ],
    "transaction_posted_timestamp_start": "2023-05-01",
    "transaction_posted_timestamp_end": "2023-05-20"
}

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
消息提示
示例 success
error_detailsarray<any>必填
错误信息
request_idstring必填
请求链路id
示例 f4044649b1be46398c7eb4e6eb6ab6d5.1684735739946
response_timestring必填
响应时间
示例 2022-05-22 14:08:59
dataobject必填
响应数据
隐藏子属性
totalinteger必填
总数
示例 10
recordsarray<object>必填
详细信息列表
隐藏子属性
amountstring必填
金额
示例 5
amount_typestring必填
金额类型
示例 Product Price
commission_ratestring必填
佣金率
示例 20
commission_rate_strstring必填
佣金率%
示例 20%
commission_rulestring必填
佣金规则
示例 0.00000
currencystring必填
币种
示例 USD
customer_orderstring必填
客户订单号
示例 2023_05_01_oPX5au
fulfillment_typestring必填
发货类型
示例 Walmart-fulfilled(WFS)
mskustring必填
msku
示例 walm_wjc9_sku7xP4a
partner_gtinstring必填
Partner GTIN
示例 850030773067
partner_item_namestring必填
商品标题
示例 Casabrews Espresso Machine
period_end_datestring必填
结束日期
示例 2023-05-15
period_start_datestring必填
开始日期
示例 2023-05-20
product_taxCodestring必填
产品税号
示例 2042275
product_typestring必填
产品类型
示例 Espresso Machines
purchase_orderstring必填
平台单号
示例 walmart-test051702-XmIVJU
ship_qtyinteger必填
数量
示例 1
ship_to_citystring必填
收货城市
示例 Miami Lakes
ship_to_statestring必填
收货州
示例 FL
ship_to_zipcodestring必填
收货邮编
示例 33016
shipping_methodstring必填
运输方式
示例 Marketplace expedited
store_idstring必填
店铺id
示例 110000000018008002
store_namestring必填
店铺名称
示例 walmart测试店铺2号
transaction_descriptionstring必填
交易描述
示例 Purchase
transaction_keystring必填
交易key
示例 2023_05_01_001
transaction_posted_timestampstring必填
交易日期
示例 2023-05-15
transaction_reason_descriptionstring必填
交易原因描述
示例 transaction_reason_description
transaction_typestring必填
交易类型
示例 Sale

返回成功示例

{
     "code": 0,
     "message": "success",
     "error_details": [],
     "request_id": "45fd55efd92b4aad8c97f5c0371ec063.1684735677529",
     "response_time": "2023-05-22 14:07:58",
     "data": {
          "total": "7",
          "records": [
               {
                    "period_end_date": null,
                    "period_start_date": null,
                    "transaction_key": "2023_05_01_001",
                    "currency": "USD",
                    "transaction_posted_timestamp": "2023-05-15",
                    "transaction_description": "Purchase",
                    "transaction_type": "Sale",
                    "customer_order": "2023_05_01_oPX5au",
                    "purchase_order": "walmart-test051702-XmIVJU",
                    "amount_type": "Product Price",
                    "amount": 20,
                    "ship_qty": "11",
                    "transaction_reason_description": "No Longer Wanted",
                    "commission_rate": 2,
                    "commission_rate_str": "2.00%",
                    "msku": "walm_wjc2_sku7xP4a",
                    "partner_item_name": "Casabrews Espresso Machine",
                    "partner_gtin": "850030773067",
                    "product_taxCode": "2042275",
                    "ship_to_city": "Miami Lakes",
                    "ship_to_state": "FL",
                    "ship_to_zipcode": "33016",
                    "product_type": "Espresso Machines",
                    "commission_rule": "BSE-65-3.0",
                    "shipping_method": "Marketplace expedited",
                    "fulfillment_type": "Walmart-fulfilled(WFS)",
                    "store_id": "110000000018008002",
                    "store_name": "walmart测试店铺"
               }
          ]
     }
}

返回失败示例

{
    "code": 1,
    "message": "参数检验不通过",
    "error_details": ["length: length 最小值为15"],
    "request_id": "f4044649b1be46398c7eb4e6eb6ab6d5.1684735739946",
    "response_time": "2023-05-22 14:08:59",
    "data": null
}