| Name | Description | Type | Additional information |
|---|---|---|---|
| Note | string |
Max length: 4000 |
|
| CustomerNumber | integer |
None. |
|
| DeliveryAddress | DeliveryAddress |
None. |
|
| TimebookReservationId |
Id for timebook reservation. |
globally unique identifier |
None. |
| CalendarEventId |
Id for a calendar event. |
integer |
None. |
| PaymentTransactionProviderId |
If the order is prepaid in an external system the payment providers transaction number can be specified for tracking purposes. |
string |
Max length: 56 |
| AgreementNo |
The agreement used for calculating prices in the order. |
integer |
None. |
| RetailPriceListId |
The pricelist used for the order. |
globally unique identifier |
None. |
| SplitId |
Order split id. |
globally unique identifier |
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. |