版本:202607
更新店铺详情
PATCH/openapi/2026-07/shop/:shop_id
修改店铺的指定属性。
请求
Path参数
shop_id string必填
店铺 ID
- application/json
- 请求体
- 示例
请求体必填
shop object必填
店铺信息
customer_emailstring
店铺电子邮件
{
"shop": {
"customer_email": "string"
}
}
响应
- 200
OK
- application/json
- 数据结构
- 示例
数据结构
codestring
错误码
messagestring
错误信息
data object
accountstring
店铺账号
address1string
主要地址行
address2string
附加地址行
citystring
城市
country_codestring
国家代码(如 CN)
created_atstring
创建时间,ISO-8601 格式
currencystring
货币代码
customer_emailstring
顾客电子邮件地址
domainstring
域名
emailstring
电子邮件地址
icon object
图标
altstring
图标的替代文本
pathstring
图标路径
srcstring
图标的源地址
subscription object
订阅信息
typestring
订阅类型
idint32
店铺 ID
namestring
名称
phonestring
电话号码
primary_localestring
店铺主要语言环境
province_codestring
省份代码
root_urlstring
店铺根 URL
shop_ownerstring
店铺所有者
statestring
店铺所在州/省
system_domainstring
店铺系统域名
timezonestring
时区
updated_atstring
最后更新时间,ISO-8601 格式
zipstring
邮政编码
{
"code": "string",
"message": "string",
"data": {
"account": "string",
"address1": "string",
"address2": "string",
"city": "string",
"country_code": "string",
"created_at": "string",
"currency": "string",
"customer_email": "string",
"domain": "string",
"email": "string",
"icon": {
"alt": "string",
"path": "string",
"src": "string"
},
"subscription": {
"type": "string"
},
"id": 0,
"name": "string",
"phone": "string",
"primary_locale": "string",
"province_code": "string",
"root_url": "string",
"shop_owner": "string",
"state": "string",
"system_domain": "string",
"timezone": "string",
"updated_at": "string",
"zip": "string"
}
}