MoySklad

Interact with MoySklad API v1.2

Customer Order → Update Status

AI-generated

Summary

Update the status of a specified Customer Order in MoySklad.

Inputs

  • id (required) — The unique identifier of the Customer Order to update.
  • body (required) — Raw JSON body containing the status update data as per the API.
  • additionalOptions — Options for customizing the request, including expanding relations or setting filters.

Output shape

a single record containing the updated Customer Order information

Request returns the updated order details. Ensure the body follows the API's requirements for status updates.

Examples

Example 1: Update status to 'completed' for order '12345' with additional info.

Set ID to '12345', Body to '{"status": "completed"}', Additional Options empty.

Example 2: Update status with expanded relations for order '67890'.

Set ID to '67890', Body to '{"status": "in_progress"}', Additional Options to expand related items.

Discussion