ms_call_method
Execute a read-only operation from the Moysklad API catalog using its operation ID. Retrieve data such as inventory, products, orders, or reports without altering anything.
Instructions
Execute one READ endpoint from the catalog by operation_id.
Target API: https://dev.moysklad.ru/doc/api/remap/1.2/.
Reads only: nothing here changes data, so it runs without confirmation. To change data use ms_write_method, to delete use ms_delete_method.
Args: operation_id: id from the catalog (see ms_search_methods). path_values: values for {placeholders} in the path. query: query-string parameters. body: JSON request body (a few read endpoints take one). Returns JSON: {"ok": true, "status", "data"} or the error envelope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| query | No | ||
| path_values | No | ||
| operation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |