| 方法 | 端点 | 描述 |
|---|---|---|
| GET | /api/v202105/accounts | 获取店铺列表 |
| POST | /api/v202105/accounts | 创建店铺 |
| 键 | 值 |
|---|---|
| Authorization | Bearer eyJ0eXAiOiJKV1QiLCJhbGciOi ... |
| 类型 | 名称 | 描述 | 必填/选填 | 数据结构 |
|---|---|---|---|---|
| query | api | 接口类型 可用值: index.by-default | 必填 | enum |
| query | account_id | 店铺ID | 选填 | integer |
| query | account_name | 店铺名称 | 选填 | string |
| 键 | 值 |
|---|---|
| errcode | 0/4000 |
| errmsg | ok/Error Info |
| data | Data Properties |
| 名称 | 描述 | 数据结构 |
|---|---|---|
| account_id | 店铺ID | integer |
| account_name | 店铺名称 | string |
| account_type | 平台名称 可用值: Amazon, eBay, Wayfair, Walmart, Shopify, Chewy, HomeDepot,OTHER…… | enum |
{
"errcode": 0,
"errmsg": "ok",
"data": [
{
"account_id": "10001",
"account_name": "ShipSageAmazonTest",
"account_type": "Amazon"
},
{
"account_id": "10002",
"account_name": "ShipSageAmazonTest2",
"account_type": "Amazon"
}
]
}| 类型 | 名称 | 描述 | 必填/选填 | 数据结构 |
|---|---|---|---|---|
| query | api | 接口类型 可用值: index.by-default | 必填 | enum |
| body | account_name | 店铺名称 | 必填 | string |
| body | account_type | 平台名称 Available Values: Amazon, eBay, Wayfair, Walmart, Shopify, Chewy, HomeDepot,OTHER…… | 必填 | enum |
{
"account_name": "ShipSageAmazonTest",
"account_type": "Amazon"
}| 键 | 值 |
|---|---|
| errcode | 0/4000 |
| errmsg | ok/Error Info |
| data | Data Properties |
| Name | Description | Schema |
|---|---|---|
| account_id | Account Id | integer |
{
"errcode": 0,
"errmsg": "ok",
"data": {
"account_id": "10001"
}
}