| Name | Description | Type | Additional information |
|---|---|---|---|
| Note |
A note for the order |
string |
Max length: 4000 |
| CustomerNumber |
The customer number is a must for third party orders |
integer |
Required |
| DeliveryAddress |
The address to which the goods are delivered |
DeliveryAddress |
None. |
| OrderLines |
An order must have at least one order line. |
Collection of OrderLineRequest |
Required |
| OrderType |
This construct is made in order to introduce order type without breaking the exposed interface |
OrderType |
None. |
| SellerBranchId |
Branch id of the branch owning the order. |
integer |
Required |
| OrderDate |
Date when ther order is placed. |
date |
Required |
| LicensePlate |
License plate number. |
string |
Max length: 15 |
| Odometer |
Odometer. |
integer |
None. |
| WorkOrderNumber | string |
Max length: 40 |
|
| SalesPerson |
Name of the person responsible for the order. |
string |
Required Max length: 50 |
| CurrencyId |
Currecy id. A list of suppoerted currencies can be fetched through the API with /api/currencies |
integer |
Required |
| CurrencyRate |
Actual currency rate used on order. |
decimal number |
Required |
| DeliveryDate |
Requested delivery date for the order. |
date |
None. |
| RequisitionOrderNumber | string |
Max length: 40 |
|
| TotalAmountIncludingVat |
Total order amount including discount and VAT. |
decimal number |
None. |
| TotalAmountExcludingVat |
Total order amount including discount but without VAT. |
decimal number |
None. |
| RoundingAmount |
Optional rounding amount. |
decimal number |
None. |
| CustomerReference |
Customers order reference. |
string |
Max length: 40 |
| ContactId |
Customer contact id. Use api/contacts/{id} to get contact details. |
globally unique identifier |
None. |