ms_get_counterparties
Retrieve counterparties (customers and suppliers) from Moysklad with optional filtering, pagination, and balance conversion from kopecks to rubles.
Instructions
Counterparties (customers and suppliers). Balance fields in kopecks.
Args: limit/offset: pagination. filter: MoySklad filter (e.g. "name~ООО"). rubles: convert kopeck balance fields to rubles (default true). Returns JSON: {"ok": true, "data": {"meta", "rows": [ counterparties ]}}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| filter | No | ||
| offset | No | ||
| rubles | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |