POST:shops.json
Commerce APIPOST:shops.json

POST:shops.json

Description

Modify an existing shop.

Even though API takes array as body, modifying only one shop at a time is allowed. API looks like that for consistency reasons.

Permission bit: "shop.modify"

Topic: Shops

Query Parameters

shop_id: String

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

Array of ShopModify

[
  {
    "app_domain": "apple",
    "entity_id": "",
    "primary_domain_id": "do_EQzGqWoY"
  }
]

Response Body

Array of Shop

Response Body Type

Loading module