API

Get a list of modifier groups

GET/api/crm/v2/modifiers_groupsv2
operationId: modifiersGroups.default

Returns a list of modifier groups sorted by sort.

Authorization

api-token + language + role

Query parameters

branch_idintegerrequired

Example: 1

Responses

OK

object
statusstringrequired

Values:successerror

Example: success

dataobject
filtersobject
branch_idobject (FilterSelectInteger)
valueinteger

Example: 8920

typestringrequired

Example: select

optionarray of object
valueintegerrequired

Example: 8920

namestringrequired

Example: Green Basket | Kaliningrad

modestring (FilterMode)

How the interface handles the filter; a regular filter does not have mode.
force_shown — always displayed, cannot be hidden.
value_required — entry point to the section: always displayed, cannot have an empty value (until a value is selected, the list is empty; there is no "all" option), global reset does not clear it.

Values:force_shownvalue_required

Example: value_required

listarray of object
idintegerrequired

Example: 1

sortintegerrequired

Example: 0

publishedbooleanrequired

Example: true

nameobject (TranslationField) required

Translatable catalog field; has the same structure in both response and request. When creating, each network language not present in translations remains empty and is queued for AI translation. When updating, only languages from translations are saved: a language not present in the object retains its previous value if the original has not changed; an empty value clears the translation and queues it for AI translation. Changing the original clears translations that were not updated—these no longer match the original; a translation submitted with a different value is saved as a manual edit. This clearing occurs only while automatic translation is enabled for the network. Values in unpublished languages are rejected; values in languages outside the network's language set are ignored.

defaultstring

Код исходного языка сети; в запросе должен совпадать с настройкой сети

Example: ru

translationsobjectrequired

Value by language code; if no translation — no key

Dictionary values
string
typestring (ModifiersGroupsType) required

Selection type: any number of modifiers in any quantity, any number of modifiers one each, one modifier in any quantity, one modifier single instance

Values:all_unlimitedall_oneone_unlimitedone_one

Example: all_unlimited

minimumintegerrequired

Example: 0

maximumintegerrequired

Example: 8