Version: 202201
Update Shop
PATCH/openapi/2022-01/shop/:shop_id
The Update Shop API allows developers to modify specific attributes of a shop using its unique identifier. This endpoint supports updating various fields based on the user’s request.
Request
Path Parameters
shop_id stringrequired
- application/json
- Body
- Example
Body
shop object
customer_emailstring
{
"shop": {
"customer_email": "string"
}
}
Responses
- 200
200
- application/json
- Schema
- Example
- Result
Schema
shop object
idinteger
Default value:
0Example:
633130namestring
Example:
test-shoplazzaemailstring
Example:
[email protected]domainstring
Example:
test-shoplazza.stg.myshoplaza.comaddress1string
Example:
粤海门zipstring
Example:
515300citystring
Example:
深圳phonestring
Example:
15014471143primary_localestring
Example:
en-USaddress2string
Example:
created_atstring
Example:
2023-11-08T11:51:39Zupdated_atstring
Example:
2024-04-29T09:58:04Zcountry_codestring
Example:
CNcurrencystring
Example:
USDcustomer_emailstring
Example:
[email protected]timezonestring
Example:
800shop_ownerstring
Example:
test-shoplazzaaccountstring
Example:
[email protected]province_codestring
Example:
CN-GDicon object
srcstring
Example:
http://img.staticdj.com/55f1a60e47d1462c7d88dec3844369f0.pngpathstring
Example:
55f1a60e47d1462c7d88dec3844369f0.pngaltstring
Example:
system_domainstring
Example:
test-shoplazza.stg.myshoplaza.comroot_urlstring
Example:
{
"shop": {
"id": 633130,
"name": "test-shoplazza",
"domain": "test-shoplazza.stg.myshoplaza.com",
"address1": "粤海门",
"zip": "515300",
"city": "深圳",
"phone": "15014471143",
"primary_locale": "en-US",
"address2": "",
"created_at": "2023-11-08T11:51:39Z",
"updated_at": "2024-04-29T09:58:04Z",
"country_code": "CN",
"currency": "USD",
"timezone": 800,
"shop_owner": "test-shoplazza",
"province_code": "CN-GD",
"icon": {
"src": "http://img.staticdj.com/55f1a60e47d1462c7d88dec3844369f0.png",
"path": "55f1a60e47d1462c7d88dec3844369f0.png",
"alt": ""
},
"system_domain": "test-shoplazza.stg.myshoplaza.com",
"root_url": ""
}
}
{
"shop": {
"id": 633130,
"name": "test-shoplazza",
"domain": "test-shoplazza.stg.myshoplaza.com",
"address1": "粤海门",
"zip": "515300",
"city": "深圳",
"phone": "15014471143",
"primary_locale": "en-US",
"address2": "",
"created_at": "2023-11-08T11:51:39Z",
"updated_at": "2024-04-29T09:58:04Z",
"country_code": "CN",
"currency": "USD",
"timezone": "+0800",
"shop_owner": "test-shoplazza",
"province_code": "CN-GD",
"icon": {
"src": "http://img.staticdj.com/55f1a60e47d1462c7d88dec3844369f0.png",
"path": "55f1a60e47d1462c7d88dec3844369f0.png",
"alt": ""
},
"system_domain": "test-shoplazza.stg.myshoplaza.com",
"root_url": ""
}
}