MoySklad icon

MoySklad

Consume the MoySklad JSON API

Actions5

Entity → Get Many

AI-generated

Summary

Retrieves records for the selected MoySklad entity, optionally filtering, sorting, searching, or expanding related data. Returns records as n8n items and can fetch all pages or stop at a specified limit.

Inputs

  • Entity (required) — Choose Assortment, Counterparty, Customer Order, Demand, Invoice Out, Organization, Processing Plan, Production Task, Product, Sales Channel, Service, Store, or Supply. Defaults to Product.
  • Return All — When enabled, retrieves pages of up to 1,000 records until the response indicates there are no more. Defaults to false.
  • Limit — Maximum records to retrieve when Return All is off. Accepts 1–1,000 and defaults to 50.
  • Query — JSON object or expression providing query parameters; a filter expression such as inn=5612079574 is also accepted. Defaults to {}.
  • Query Parameters — Optional parameters vary by entity: all entities support Expand, Filter, and Order; most also support Search; Counterparty additionally supports Tags; Assortment additionally supports Group By. Empty values are omitted. Assortment Filter can use search=value to search.

Output shape

A list of n8n items, one per returned record.

List response rows become individual items; an array response is also split into items. With Return All enabled, pagination continues while the response indicates more records. If Continue On Fail is enabled, request errors are returned as items with an error field.

Examples

Example 1: List products changed since a date, up to 100 records

Select Product, leave Return All off, set Limit to 100, and set Filter to updated>=2026-01-01 00:00:00.

Example 2: Find counterparties by tag and name

Select Counterparty and set Search to Acme and Tags to customers.

Example 3: Search assortment for a matching item

Select Assortment and set Filter to search=widget; optionally choose Group By to control which assortment types are returned.

Links

Discussion