MoySklad

Interact with MoySklad API v1.2

Demand → Update

AI-generated

Summary

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.

Discussion