Shops > Shops > shopsModify
Commerce APIShopsShopsshopsModify
shopsModify
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

Arguments

data: [ShopModify!]!

Main argument for mutations.


shop_id: String

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

app_domain: String

Shop's lana.sh sub-domain, must be unique

Example: "apple"


primary_domain_id: String

Unique domain identifier. See also: Unique Identifiers

Example: "do_EQzGqWoY"

Valid when: primary_domain_id matches regexp pattern: ^do_


Result

[Shop!]

Preview (typescript)

Loading module