MoySklad

Interact with MoySklad API v1.2

Demand → Get Many

AI-generated

Summary

Retrieve multiple demands from the MoySklad API based on specified criteria.

Inputs

  • additionalOptions — Collection of additional parameters for the request.
  • additionalOptions.expand — Comma-separated relations to expand.
  • additionalOptions.filters — Semicolon-separated filters, supports custom fields (e.g., attributes.name=value).
  • additionalOptions.limit — Maximum number of records to retrieve, capped at 1000 (default is 100).
  • additionalOptions.offset — Number of records to skip before starting to collect the result set (default is 0).

Output shape

a list of demand records

Returns an array of demand objects matching the request criteria. Supports pagination through the limit and offset parameters.

Examples

Example 1: Get all demands with a limit of 50.

Set 'limit' in 'additionalOptions' to 50 and leave 'filters' empty.

Example 2: Get demands filtered by a custom field.

Set 'filters' to 'attributes.name=value' in 'additionalOptions'.

Discussion