query GetEmptySalesOrder {
GetEmptySalesOrder {
salesOrderDate
itemDescriptionType
readOnlyType
companyId
languageId
additionalWeight
}
}{
"data": {
"GetEmptySalesOrder": {
"salesOrderDate": "value",
"itemDescriptionType": "NONE",
"readOnlyType": "CHANGES_ALLOWED",
"companyId": "id",
"languageId": "id",
"additionalWeight": "value"
}
}
}GetEmptySalesOrder
Returns an empty sales order with default values without persisting it. This is equivalent to opening a new sales order dialog in the UI.
GetEmptySalesOrder: EmptySalesOrder!Returns
The default sales order date (current date/time).
The default item description type from global settings.
The default read-only type.
The company ID the sales order is initialized for.
The default language ID.
The default additional weight from global settings.
The VAT ID of the company.
The special tax treatment setting.
The tax setting.
The default tax reference of a new sales order (ShipmentAddress). This setting controls which data is used during tax calculation. Read-only.
The departure country information.
The payment details.
The initialized empty billing address.
The initialized empty shipment address.
query GetEmptySalesOrder {
GetEmptySalesOrder {
salesOrderDate
itemDescriptionType
readOnlyType
companyId
languageId
additionalWeight
}
}{
"data": {
"GetEmptySalesOrder": {
"salesOrderDate": "value",
"itemDescriptionType": "NONE",
"readOnlyType": "CHANGES_ALLOWED",
"companyId": "id",
"languageId": "id",
"additionalWeight": "value"
}
}
}Was this page helpful?