**Version: 202601**

# Update shop details

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

Update editable shop attributes.

## Request

**Path Parameters**

- `shop_id` string (required)

  Specifies which shop is to be updated

**application/json**

**Body | Example**

**Body (required)**

- `shop` object (required)

  Shop

  - `customer_email` string

    Email of the shop

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

## Responses

**200**

OK

**application/json**

**Schema | Example**

**Schema**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `account` string

    Account of the shop
  - `address1` string

    Address1 of the shop
  - `address2` string

    Address2 of the shop
  - `city` string

    City of the shop
  - `country_code` string

    Country code of the shop
  - `created_at` string

    Created time of the shop
  - `currency` string

    Currency of the shop
  - `customer_email` string

    Customer email of the shop
  - `domain` string

    Domain of the shop
  - `email` string

    Email of the shop
  - `icon` object

    Icon of the shop

    - `alt` string

      Alt of the icon
    - `path` string

      Path of the icon
    - `src` string

      Src of the icon
  - `subscription` object

    Subscription status of the shop

    - `type` string

      The type of the subscription
  - `id` int32

    ID of the shop
  - `name` string

    Name of the shop
  - `phone` string

    Phone of the shop
  - `primary_locale` string

    Primary locale of the shop
  - `province_code` string

    Province of the shop
  - `root_url` string

    Root URL of the shop
  - `shop_owner` string

    Owner of the shop
  - `state` string

    State or province of the shop
  - `system_domain` string

    The system domain of the shop
  - `timezone` string

    The timezone of the shop
  - `updated_at` string

    The updated time of the shop; ISO-8601 (e.g. `2023-01-01T00:00:00Z`)
  - `zip` string

    The zip of the shop

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