Market Grouping

Update a market grouping

Updates an existing market grouping with new territory support configuration

put/api/market/grouping/{id}

Request

Path parameters

idinteger required

ID of the market grouping to update

Request body

idinteger

ID for update operations

namestring

Name of the market grouping

levelstring required

Territory level (country, continent, generic)

level_idinteger required

ID of the territory at the specified level

Example request

{
  "level": "country"
}

Response

Market grouping updated successfully

idinteger

Market grouping ID

levelstring

Territory level (country, continent, generic)

level_idinteger

ID of the territory (country or continent)

namestring

Market grouping name

slugstring

Market grouping slug

editableboolean

Whether the market grouping is editable

state_aliasstring nullable

State alias (only for country level)

state_countinteger nullable

Number of states (only for country level)

county_countinteger nullable

Number of counties (only for country level)

city_countinteger nullable

Number of cities (only for country level)

created_atstring date-time

Creation timestamp

updated_atstring date-time

Last update timestamp

Changes

No recorded changes to this operation across all 2 revisions of this API.