**版本：202601**

# 更新店铺详情

**PATCH** `/openapi/2026-01/shop/:shop_id`

修改店铺的指定属性。

## 请求

**Path参数**

- `shop_id` string (required)

  店铺 ID

**application/json**

**请求体 | 示例**

**请求体 (required)**

- `shop` object (required)

  店铺信息

  - `customer_email` string

    店铺电子邮件

```json
{
  "shop": {
    "customer_email": "string"
  }
}
```

## 响应

**200**

OK

**application/json**

**数据结构 | 示例**

**数据结构**

- `code` string

  错误码
- `message` string

  错误信息
- `data` object

  - `account` string

    店铺账号
  - `address1` string

    主要地址行
  - `address2` string

    附加地址行
  - `city` string

    城市
  - `country_code` string

    国家代码（如 CN）
  - `created_at` string

    创建时间，ISO-8601 格式
  - `currency` string

    货币代码
  - `customer_email` string

    顾客电子邮件地址
  - `domain` string

    域名
  - `email` string

    电子邮件地址
  - `icon` object

    图标

    - `alt` string

      图标的替代文本
    - `path` string

      图标路径
    - `src` string

      图标的源地址
  - `subscription` object

    订阅信息

    - `type` string

      订阅类型
  - `id` int32

    店铺 ID
  - `name` string

    名称
  - `phone` string

    电话号码
  - `primary_locale` string

    店铺主要语言环境
  - `province_code` string

    省份代码
  - `root_url` string

    店铺根 URL
  - `shop_owner` string

    店铺所有者
  - `state` string

    店铺所在州/省
  - `system_domain` string

    店铺系统域名
  - `timezone` string

    时区
  - `updated_at` string

    最后更新时间，ISO-8601 格式（例如 `2023-01-01T00:00:00Z`）
  - `zip` string

    邮政编码

```json
{
  "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"
  }
}
```
