v2
latestOpenAPI 3.0.42026-08-084694591.6 MBCreate a new draft sales order
Request body
The id of the customer to be created
The ordered date of the sales order. For supplied values, only the calendar date is used, exactly as written; any time or UTC offset is ignored. If not supplied, defaults to the current UTC timestamp.
Optional customer supplied purchase order number
Arbitrary key-value-pair like data that can be used to later on search for the Sales Order
A reference URL that points to an external quote entity.
The due date of the sales order. This indicates the expected date of completion. Only the calendar date is used, exactly as written; any time or UTC offset is ignored.
Payment terms key identifier. Please reference /api/payment-terms endpoint.
Sales Person identifier. Please reference /api/users endpoint. If not provided, the salesperson defined on the customer will be used.
Note to customer. This will appear on PDFs.
Priority of the sales order
Company identifier. Please reference /api/companies endpoint. If not provided, the primary company will be used (if available).
The date that the production of items on the sales order needs to be completed by. Only the calendar date is used, exactly as written; any time or UTC offset is ignored.
Shipping method identifier. Please reference /api/shipping-methods endpoint.
Response
Sales order created
The id of the created record