Query
query GetEmptySalesOrder {
GetEmptySalesOrder {
salesOrderDate
itemDescriptionType
readOnlyType
companyId
languageId
additionalWeight
}
}Response
{
"data": {
"GetEmptySalesOrder": {
"salesOrderDate": "value",
"itemDescriptionType": "NONE",
"readOnlyType": "CHANGES_ALLOWED",
"companyId": "id",
"languageId": "id",
"additionalWeight": "value"
}
}
}Queries
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.
QUERY
GetEmptySalesOrder: EmptySalesOrder!Returns
salesOrderDate
DateTime
The default sales order date (current date/time).
itemDescriptionType
The default item description type from global settings.
readOnlyType
The default read-only type.
companyId
ID!
The company ID the sales order is initialized for.
languageId
ID!
The default language ID.
additionalWeight
Decimal!
The default additional weight from global settings.
vatId
String
The VAT ID of the company.
specialTaxTreatment
The special tax treatment setting.
taxSetting
The tax setting.
departureCountry
The departure country information.
paymentDetails
The payment details.
billingAddress
The initialized empty billing address.
shipmentAddress
The initialized empty shipment address.
Query
query GetEmptySalesOrder {
GetEmptySalesOrder {
salesOrderDate
itemDescriptionType
readOnlyType
companyId
languageId
additionalWeight
}
}Response
{
"data": {
"GetEmptySalesOrder": {
"salesOrderDate": "value",
"itemDescriptionType": "NONE",
"readOnlyType": "CHANGES_ALLOWED",
"companyId": "id",
"languageId": "id",
"additionalWeight": "value"
}
}
}Was this page helpful?