Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Shopify App Bridge session token of the embedded Depict: Search & Merchandising app. The shop in the token determines the merchant; merchant_id parameters must belong to that shop.

Path Parameters

merchant_id
string
required

Lite merchant id, e.g. shopify-<shop id>.

Body

application/json
name
string
required

Display name; also derives the id.

market_ids
string[]
required

Market ids; each must exist for the merchant. The group gets exactly these.

Response

The created group.

market_group_id
string
required

Derived from the name; global is the default group.

display_name
string
required
markets
object[]
required
is_enabled
boolean
required

Every market in the group is enabled for Depict (false when empty).