query GetSalesOrderById($salesOrderId: ID!) {
GetSalesOrderById(salesOrderId: $salesOrderId) {
id
customerId
paymentInfo {
accountHolder
bankName
bic
creditorId
dueDate
endToEndId
}
text {
comment
customerComment
printText
processStatus
}
salesOrderDate
isCancelled
}
}{
"salesOrderId": "id"
}{
"data": {
"GetSalesOrderById": {
"id": "id",
"customerId": "id",
"paymentInfo": {
"accountHolder": "string",
"bankName": "string",
"bic": "string",
"creditorId": "string",
"dueDate": "value",
"endToEndId": "string"
},
"text": {
"comment": "string",
"customerComment": "string",
"printText": "string",
"processStatus": "string"
},
"salesOrderDate": "value",
"isCancelled": true
}
}
}GetSalesOrderById
Retrieves a single sales order by its ID.
GetSalesOrderById(salesOrderId: ID!): SalesOrder!Arguments
Returns
Unique ID to identify a sales order.
Customer this SalesOrder belongs to.
SalesOrderPaymentInfo
SalesOrderText
The SalesOrder Date
Indicates if the order has been cancelled.
The SalesOrder IsPending
The SalesOrder ItemDescriptionType
The SalesOrder ReadOnlyType
The SalesOrder SalesOrderStatus
The SalesOrder SalesOrderNumber
DepartureCountry
ExternalDetails
PaymentDetails
ShippingDetails
TaxDetails
The SalesOrder Process colour id
The SalesOrder OnHold reason id
The SalesOrder Carton item id
The SalesOrder Payment method id
The SalesOrder Shipping method id
The SalesOrder Process status id
The SalesOrder Language iso code
The SalesOrder Customer sales order number
The SalesOrder Vat Id
The SalesOrder Company Id
SalesOrderShipmentAddress
SalesOrderBillingAddress
List of SalesOrderLineItem
Key figures of the sales order.
List of invoices associated with this sales order
Returns all payments referenced by this sales order, or null when the order has no payments.
Returns the stock-based deliverability of this sales order, resolved lazily and batched across the response.
Returns the delivery notes of this sales order, resolved lazily and batched across the response.
query GetSalesOrderById($salesOrderId: ID!) {
GetSalesOrderById(salesOrderId: $salesOrderId) {
id
customerId
paymentInfo {
accountHolder
bankName
bic
creditorId
dueDate
endToEndId
}
text {
comment
customerComment
printText
processStatus
}
salesOrderDate
isCancelled
}
}{
"salesOrderId": "id"
}{
"data": {
"GetSalesOrderById": {
"id": "id",
"customerId": "id",
"paymentInfo": {
"accountHolder": "string",
"bankName": "string",
"bic": "string",
"creditorId": "string",
"dueDate": "value",
"endToEndId": "string"
},
"text": {
"comment": "string",
"customerComment": "string",
"printText": "string",
"processStatus": "string"
},
"salesOrderDate": "value",
"isCancelled": true
}
}
}Was this page helpful?