eBay大中华区API开发者平台 开发者专区

搜 索

从中国香港寄出直邮交易物流服务使用政策相关交易下载数据

发布时间:2022-03-30          最近刷新时间:2022-03-30

描述

详细政策说明参见:https://exportnews.ebay.com.hk/Home/other_category/40

卖家中心相关界面供参考:

输入数据

资源路径
GET /gccbtapi/v1/hkmandate/listings

其它设置参见“eBay大中华卖家API简介”首页中“其他通用设置”的描述。

请求参数

输出
如果查询成功,将返回“从中国香港寄出直邮交易物流服务使用政策相关交易下载数据”。
如果查询成功但data是空数组或没值,则可能是该政策目前不适用于该用户或者用户数据未更新,请做好相关对用户的提示。

响应字段描述

ackValue

string

总是出现

SUCCESS FAILURE

errorMessage

object

有时出现

如果发生异常或请求错误,就可能看到errorMessage字段。

"errorMessage":{

    "error": [

      {

        "errorId": 1001,

        "domain": "PARAMETER",

        "category": "REQUEST",

        "message": "Parameter dateRange is missing",

        "longMessage": "Parameter dateRange is missing",

        "actionToTake": "CORRECTINPUTDATA"

      }

    ]

  }

timestamp

long

总是出现

响应的服务器时间

data

array

有时出现

请求成功,并且有数据,这个字段应该是个数组。否则可能返回null

数据含义

数据创建日期 createPst

产品号

listingId

交易号

transactionId

付款时间

transPaidDate

承诺处理时间截止日

transHandleByDate

买家国家

buyerAddressCntry

单价

asp

单价货币币种

aspCurrency

物品所在地

itemLocation

卖家上传的跟踪号

trackingNumber

卖家填写的物流供应商

carrierName

揽收扫描时间

aScanDate

卖家承诺订单处理时间(天)

promisedHandlingTime

是否使用SpeedPAK及其他合规服务: 0:不合规 1:合规

useSpeedpakPlusFlag

揽收扫描是否及时:0:不合规 1:合规

aScanOnTimeFlag

交易是否合格:0:不合规 1:合规

transComplyFlag

响应举例

{
    "ackValue": "SUCCESS",
    "statusCode": 200,
    "timeStamp": 1648431663871,
    "data": [
        {
            "createPst": "2022-03-21",
            "listingId": 111204511383,
            "transactionId": 1156613820004,
            "transPaidDate": "2022-01-17",
            "transHandleByDate": "2022-03-05",
            "buyerAddressCntry": "US",
            "asp": 26,
            "aspCurrency": "USD",
            "itemLocation": "HK",
            "trackingNumber": "ES10017908660820001010001F0N",
            "carrierName": "SpeedPAK",
            "aScanDate": "2022-01-24",
            "promisedHandlingTime": 30,
            "useSpeedpakPlusFlag": 1,
            "aScanOnTimeFlag": 1,
            "transComplyFlag": 0
        },
        {
            "createPst": "2022-03-21",
            "listingId": 111055585929,
            "transactionId": 1157739352004,
            "transPaidDate": "2022-01-22",
            "transHandleByDate": "2022-03-10",
            "buyerAddressCntry": "US",
            "asp": 38,
            "aspCurrency": "USD",
            "itemLocation": "HK",
            "trackingNumber": "ES10017908848820102010001D0N",
            "carrierName": "SpeedPAK",
            "aScanDate": "2022-01-24",
            "promisedHandlingTime": 30,
            "useSpeedpakPlusFlag": 1,
            "aScanOnTimeFlag": 1,
            "transComplyFlag": 0
        },
        {
            "createPst": "2022-03-21",
            "listingId": 111088973999,
            "transactionId": 1155949936004,
            "transPaidDate": "2022-01-15",
            "transHandleByDate": "2022-03-03",
            "buyerAddressCntry": "US",
            "asp": 31,
            "aspCurrency": "USD",
            "itemLocation": "HK",
            "trackingNumber": "ES10017829212720102010001B0N",
            "carrierName": "SpeedPAK",
            "aScanDate": "2022-01-17",
            "promisedHandlingTime": 30,
            "useSpeedpakPlusFlag": 1,
            "aScanOnTimeFlag": 1,
            "transComplyFlag": 0
        },
        {
            "createPst": "2022-03-21",
            "listingId": 111158696636,
            "transactionId": 1156972536004,
            "transPaidDate": "2022-01-19",
            "transHandleByDate": "2022-03-09",
            "buyerAddressCntry": "US",
            "asp": 26,
            "aspCurrency": "USD",
            "itemLocation": "HK",
            "trackingNumber": "ES10017908591360102010001F0N",
            "carrierName": "SpeedPAK",
            "aScanDate": "2022-01-24",
            "promisedHandlingTime": 30,
            "useSpeedpakPlusFlag": 1,
            "aScanOnTimeFlag": 1,
            "transComplyFlag": 0
        },
        {
            "createPst": "2022-03-21",
            "listingId": 111280949907,
            "transactionId": 1158828321004,
            "transPaidDate": "2022-01-26",
            "transHandleByDate": "2022-03-16",
            "buyerAddressCntry": "US",
            "asp": 133,
            "aspCurrency": "USD",
            "itemLocation": "HK",
            "trackingNumber": "ES10017951130440002010001E0N",
            "carrierName": "SpeedPAK",
            "aScanDate": "2022-01-28",
            "promisedHandlingTime": 30,
            "useSpeedpakPlusFlag": 1,
            "aScanOnTimeFlag": 1,
            "transComplyFlag": 0
        }
    ]
}