版本:202201
查询店铺详情
GET/openapi/2022-01/shop
获取店铺的完整信息。
请求
Query参数
fields string
返回的字段列表。
响应
- 200
- 400
- 401
- 500
- 520
200
- application/json
- 数据结构
- 示例
- Result
数据结构
shop object
accountstring
address1string
示例:
address1address2string
示例:
citystring
示例:
citycountry_codestring
示例:
CNcreated_atstring
示例:
2023-11-08T11:51:39Zcurrencystring
示例:
USDcustomer_emailstring
domainstring
示例:
test-shoplazza.stg.myshoplaza.comemailstring
icon object
altstring
示例:
pathstring
示例:
55f1a60e47d1462c7d88dec3844369f0.pngsrcstring
示例:
http://img.staticdj.com/55f1a60e47d1462c7d88dec3844369f0.pngsubscription object
typestring
示例:
baseidinteger
默认值:
0示例:
633130namestring
示例:
test-shoplazzaphonestring
示例:
15014471143primary_localestring
示例:
en-USprovince_codestring
示例:
CN-GDroot_urlstring
示例:
shop_ownerstring
示例:
test-shoplazzastatestring
示例:
availablesystem_domainstring
示例:
test-shoplazza.stg.myshoplaza.comtimezonestring
示例:
800updated_atstring
示例:
2024-04-29T09:18:01Zzipstring
示例:
515300{
"shop": {
"address1": "address1",
"address2": "",
"city": "city",
"country_code": "CN",
"created_at": "2023-11-08T11:51:39Z",
"currency": "USD",
"domain": "test-shoplazza.stg.myshoplaza.com",
"icon": {
"alt": "",
"path": "55f1a60e47d1462c7d88dec3844369f0.png",
"src": "http://img.staticdj.com/55f1a60e47d1462c7d88dec3844369f0.png"
},
"subscription": {
"type": "base"
},
"id": 633130,
"name": "test-shoplazza",
"phone": "15014471143",
"primary_locale": "en-US",
"province_code": "CN-GD",
"root_url": "",
"shop_owner": "test-shoplazza",
"state": "available",
"system_domain": "test-shoplazza.stg.myshoplaza.com",
"timezone": 800,
"updated_at": "2024-04-29T09:18:01Z",
"zip": "515300"
}
}
{
"shop": {
"address1": "address1",
"address2": "",
"city": "city",
"country_code": "CN",
"created_at": "2023-11-08T11:51:39Z",
"currency": "USD",
"domain": "test-shoplazza.stg.myshoplaza.com",
"icon": {
"alt": "",
"path": "55f1a60e47d1462c7d88dec3844369f0.png",
"src": "http://img.staticdj.com/55f1a60e47d1462c7d88dec3844369f0.png"
},
"subscription": {
"type": "base"
},
"id": 633130,
"name": "test-shoplazza",
"phone": "15014471143",
"primary_locale": "en-US",
"province_code": "CN-GD",
"root_url": "",
"shop_owner": "test-shoplazza",
"state": "available",
"system_domain": "test-shoplazza.stg.myshoplaza.com",
"timezone": "+0800",
"updated_at": "2024-04-29T09:18:01Z",
"zip": "515300"
}
}
400
- application/json
- 数据结构
- 示例
- Result
数据结构
errorstring
示例:
Unauthorized{
"error": "Unauthorized"
}
{
"error": "Unauthorized"
}
401
- application/json
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"header store id not exist"
]
}
{ "errors": ["header store id not exist"] }
500
- application/json
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"Response message parsing error"
]
}
{ "errors": ["Response message parsing error"] }
520
- application/json
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"No Context"
]
}
{ "errors": ["No Context"] }