Returns a list of additional sales sources for a branch, filtered by source type (item, item_parameter, category). For each source, related items, categories, and item parameters are returned; the list is sorted and paginated.
Authorization
api-token + language + role
Query parameters
branch_idinteger
Example:1
link_typestring
Values:itemitem_parametercategory
page_numberinteger
Example:1
Responses
OK
object
statusstringrequired
Values:successerror
Example:success
dataobjectrequired
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
link_typeobject
typestringrequired
Example:radio
optionarray of string
listarray of object
link_itemobjectrequired
idintegerrequired
Example:1
typestringrequired
Values:itemitem_parametercategory
Example:item
namestringrequired
Example:Example item
strategystringcan be null
Strategy that created the source; null — created manually
Values:sales_statisticsai_compatibilityai_prompt
Example:sales_statistics
related_objectsarray of objectrequired
idintegerrequired
Example:1
typestringrequired
Values:itemitem_parametercategory
Example:item
namestringrequired
Example:Recommended item
strategystringcan be null
Strategy that created the link; null — added manually
Values:sales_statisticsai_compatibilityai_prompt
Example:ai_compatibility
sortintegerrequired
Example:1
idintegerrequired
Example:1
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