Lingxing
切换旧版

查询亚马逊店铺列表

GET/erp/sc/data/seller/lists

查询得到企业已授权到领星ERP的全部亚马逊店铺信息

接口信息

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

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
消息提示
示例 success
error_detailsarray<any>必填
错误信息
totalinteger必填
当前非分页接口,请忽略此字段。为了统一响应格式,固定为0。
response_timestring必填
响应时间
示例 2020-05-18 11:23:47
dataarray<object>必填
响应数据
隐藏子属性
sidnumber必填
店铺id
领星ERP对企业已授权店铺的唯一标识
示例 1519
midnumber必填
站点id
示例 1
namestring必填
店铺名
示例 test账号
seller_idstring必填
亚马逊店铺id
示例 AZTOL********
account_namestring必填
店铺账户名称
seller_account_idnumber必填
店铺账号id
示例 1
regionstring必填
站点简称,例如NA指北美
示例 EU
countrystring必填
商城所在国家名称
示例 西班牙
has_ads_settinginteger必填
是否授权广告:
0 否
1 是
marketplace_idstring必填
市场id
示例 xxxxxxxxxxxxxxxx
statusinteger必填
店铺状态:
0 停止同步
1 正常
2 授权异常
3 欠费停服
示例 1

返回成功示例

{
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "B34C8F27-F3CA-EE25-836C-32FABBD8B8CD",
    "response_time": "2021-11-10 17:28:33",
    "data": [
        {
            "sid": 1,
            "mid": 1,
            "name": "店铺1",
            "seller_id": "AZTOL********",
            "account_name": "account**",
            "seller_account_id": 2,
            "region": "EU",
            "country": "西班牙",
            "has_ads_setting": 0,
            "marketplace_id": xxxxxxxxxxxxxxxx,
	        "status": 1
        }
    ]
}

附加说明

  1. 唯一键:sid
  2. 调用本接口,将一次性返回企业全部已授权到领星ERP的亚马逊SC店铺sid
  3. sid将用于部分开放接口传入参数