MoySklad

Interact with MoySklad API v1.2

Product → Get Many

AI-generated

Summary

Retrieve multiple products from the MoySklad API with optional filtering, limiting, and offsetting.

Inputs

  • additionalOptions.expand — Comma-separated relations to expand.
  • additionalOptions.filters — Semicolon-separated filters, supports custom fields (e.g., attributes.name=value).
  • additionalOptions.limit — Number of products to retrieve, between 1 and 1000 (default: 100).
  • additionalOptions.offset — Offset for pagination, starting at 0.

Output shape

a list of product records

The results include up to 'limit' products, starting from 'offset'. If no products match the filters, an empty array is returned.

Examples

Example 1: Retrieve all products with a limit of 50

Set additionalOptions.limit to 50 and leave other fields empty.

Example 2: Retrieve products with a specific filter

Set additionalOptions.filters to 'attributes.name=value' for targeted results.

Discussion