API

Get a list of product labels

GET/api/crm/v2/labelsv2
operationId: labels.default

Returns a list sorted by sort.

Authorization

api-token + language + role

Query parameters

chain_idinteger

Example: 7124

Responses

OK

object
statusstringrequired

Values:successerror

Example: success

dataobject
filtersobject
listarray of object
idintegerrequired

Example: 7361

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
text_colorstringrequired

Example: FFFFFF

background_colorstringrequired

Example: C62828

sortintegerrequired

Example: -1714152061

paginationobject (Pagination)
max_countintegerrequired

Number of items per page

Example: 30

page_numberintegerrequired

Current page number; limited so that the offset does not exceed 1000

Example: 1

has_nextbooleanrequired

Is there a next page

Example: true

has_previousbooleanrequired

Is there a previous page

Example: false