Skip to main content
PATCH
/
api
/
v1
/
:team_slug
/
:app_slug
/
store-groups
/
:store_group_slug
Error
A valid request URL is required to generate request examples
{
  "data": {
    "country_of_sale": "<string>",
    "created_at": "<string>",
    "description": "<string>",
    "id": "<string>",
    "markets": [
      {
        "active": true,
        "country_codes": [
          "<string>"
        ],
        "created_at": "<string>",
        "currency_code": "<string>",
        "id": "<string>",
        "is_tax_exemption_eligible": true,
        "is_tax_included_in_price": true,
        "locale": "<string>",
        "name": "<string>",
        "slug": "<string>",
        "updated_at": "<string>"
      }
    ],
    "name": "<string>",
    "slug": "<string>",
    "store_type": "<string>",
    "updated_at": "<string>"
  },
  "details": [
    "<string>"
  ],
  "success": true
}

Path Parameters

store_group_slug
string
required

Store group slug

app_slug
string
required

App slug

team_slug
string
required

Team slug

Body

application/json

Store group data

country_of_sale
string
required

Country value needs to follow ISO3166_1_alpha2, which means we want a country value written in alpha-2 two-letter country codes, Example: SE or FI

name
string
required
slug
string
required
description
string
markets
string[]

The slug of the markets which should be related to this store group

store_type
enum<string>
Available options:
b2c,
b2b,
d2c,
d2b

Response

Store group created or updated successfully

data
object
details
string[]

Other information which can be relative to the response. This field is used to give additional information then the main data we want to return. For instance if a product do not match the publishing rules will the product status be set to Incomplete and this field will include why

success
boolean