MoySklad Tool
AI-generatedSummary
Send one AI-supplied request to the MoySklad JSON API, either for a supported entity operation or a custom API call.
Inputs
- AI Tool Request (required) — A JSON request object supplied by the AI Agent. For an entity request, provide
entityandoperation(create,delete,get,getAll, orupdate);resourcecan be omitted or set toentity. Setidforget,delete, andupdate. Usequeryfor request parameters andbodyfor create or update data. ForgetAll,limitdefaults to 50 and must be an integer from 1 to 1000; setreturnAll: trueto fetch pages of up to 1000 records. For a custom request, setresource: "custom", provide an allowedmethod(GET,DELETE,PATCH,POST, orPUT) and a relative APIpath;queryandbodyare optional. GET and DELETE custom requests ignore the body.
Output shape
A list of n8n items, with response data mapped to each item's json.
Entity get-many requests return individual records and paginate when
returnAllis true. With continue-on-fail enabled, an error is returned as an item with anerrorfield; otherwise the operation fails.