Error
A valid request URL is required to generate request examples{
"market_group_id": "<string>",
"display_name": "<string>",
"markets": [
{
"id": "<string>",
"display_name": "<string>",
"country_codes": [
"<string>"
]
}
],
"is_enabled": true
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}API Reference
Create a market group (or rename the group its name maps to)
Creates a group whose id is derived from name (lowercased, spaces and dashes to underscores) and moves the given markets into it. A name that maps to an existing id renames that group instead. Writes config.market_group and config.market; returns the group.
POST
/
{merchant_id}
/
market-groups
Error
A valid request URL is required to generate request examples{
"market_group_id": "<string>",
"display_name": "<string>",
"markets": [
{
"id": "<string>",
"display_name": "<string>",
"country_codes": [
"<string>"
]
}
],
"is_enabled": true
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
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
Lite merchant id, e.g. shopify-<shop id>.
Body
application/json
Was this page helpful?

