Actions30
Demand → Update
AI-generatedSummary
Update a specific Demand record in the MoySklad API.
Inputs
- id (required) — The unique identifier of the Demand record to be updated.
- body (required) — The raw JSON body containing the updated details for the Demand record.
- additionalOptions — Optional additional parameters for the request, including expand, filters, limit, and offset.
Output shape
the updated Demand record details as a JSON object
Returns the full details of the updated Demand record.Handles errors based on the API response, returning an error message for unsuccessful updates.
Examples
Example 1: Updating a Demand Record
Set 'id' to the Demand's unique ID and provide the updated fields in 'body'. Optionally, use 'additionalOptions' for further request customization.