Version: 202201
Shop Details
GET/openapi/2022-01/shop
The Get Shop API allows developers to fetch comprehensive information about a shop by using its unique identifier and configurable query parameters. This endpoint supports retrieving specific fields based on the user’s request.
Request
Query Parameters
fields string
To specify which fields you wanna get, separated by comma, e.g. id,name,email
Responses
- 200
- 400
- 401
- 500
- 520
200
- application/json
- Schema
- Example
- Result
Schema
shop object
accountstring
Example:
[email protected]address1string
Example:
address1address2string
Example:
citystring
Example:
citycountry_codestring
Example:
CNcreated_atstring
Example:
2023-11-08T11:51:39Zcurrencystring
Example:
USDcustomer_emailstring
Example:
[email protected]domainstring
Example:
test-shoplazza.stg.myshoplaza.comemailstring
Example:
[email protected]icon object
altstring
Example:
pathstring
Example:
55f1a60e47d1462c7d88dec3844369f0.pngsrcstring
Example:
http://img.staticdj.com/55f1a60e47d1462c7d88dec3844369f0.pngsubscription object
typestring
Example:
baseidinteger
Default value:
0Example:
633130namestring
Example:
test-shoplazzaphonestring
Example:
15014471143primary_localestring
Example:
en-USprovince_codestring
Example:
CN-GDroot_urlstring
Example:
shop_ownerstring
Example:
test-shoplazzastatestring
Example:
availablesystem_domainstring
Example:
test-shoplazza.stg.myshoplaza.comtimezonestring
Example:
800updated_atstring
Example:
2024-04-29T09:18:01Zzipstring
Example:
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
- Schema
- Example
- Result
Schema
errorstring
Example:
Unauthorized{
"error": "Unauthorized"
}
{
"error": "Unauthorized"
}
401
- application/json
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"header store id not exist"
]
}
{ "errors": ["header store id not exist"] }
500
- application/json
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"Response message parsing error"
]
}
{ "errors": ["Response message parsing error"] }
520
- application/json
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"No Context"
]
}
{ "errors": ["No Context"] }