Create a new sales order or update existing (creates new version).
Actions:
draft: Save as draftsubmit_for_review: Submit for approvalCreating new vs updating:
id to create a new orderid (document_id) to create a new version of existing orderThe access token received from the authorization server in the OAuth 2.0 flow.
Input schema for creating a new sales order (POST /orders/).
Actions for sales order state transitions
Permissions:
draft, submit_for_review, confirm, reject, mark_in_procurement, mark_in_production, mark_partially_delivered, mark_delivered