Update a sales order (creates a new version).
All fields are optional - only provided fields will be updated.
Actions:
draft: Keep as draftsubmit_for_review: Submit for approvalconfirm: Confirm order (Manager/Admin only)reject: Reject order (Manager/Admin only)mark_in_procurement: Mark as in procurementmark_in_production: Mark as in productionmark_delivered: Mark as deliveredThe access token received from the authorization server in the OAuth 2.0 flow.
Input schema for updating a sales order (PATCH /orders/{id}). All fields are optional - only provided fields will be updated.
Use 'action' to trigger state transitions.
Actions for sales order state transitions
Permissions:
draft, submit_for_review, confirm, reject, mark_in_procurement, mark_in_production, mark_partially_delivered, mark_delivered