Update a store group
Updates an existing store group’s name, slug, store type, and associated markets. Markets specified in the payload will be added to the store group.
/api/v1/{team_slug}/{app_slug}/store-groups/{store_group_slug}AuthorizationBearer token · headerrequiredManagement API token, sent as Authorization: Bearer <token>.
store_group_slugstringrequiredStore group slug
app_slugstringrequiredApp slug
team_slugstringrequiredTeam slug
application/jsonStore group data
country_of_salestringrequiredCountry 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
descriptionstringmarketsstring[]The slug of the markets which should be related to this store group
namestringrequiredslugstringrequiredstore_typestringb2cb2bd2cd2bStore group updated successfully
datagithub_com_enadhq_nabbit_internal_pkg_webserver_models.StoreGroupWithMarketsrequiredShow propertiesHide properties
country_of_salestring | nullcreated_atstringdescriptionstringidstringmarketsgithub_com_enadhq_nabbit_internal_pkg_webserver_models.StoreGroupMarket[] | nullShow propertiesHide properties
github_com_enadhq_nabbit_internal_pkg_webserver_models.StoreGroupMarketactivebooleancountry_codesstring[] | nullcreated_atstringcurrency_codestringidstringis_tax_exemption_eligiblebooleanis_tax_included_in_pricebooleanlocalestringnamestringslugstringupdated_atstring | nullnamestringslugstringstore_typestringupdated_atstring | nulldetailsstring[]Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes
successbooleanrequiredInvalid request (e.g. bad UUID, validation error)
detailsstring[]messagestringsuccessbooleanrequiredUnauthorized access
detailsstring[]messagestringsuccessbooleanrequiredInternal server error
detailsstring[]messagestringsuccessbooleanrequired