v1
latestOpenAPI 3.0.22026-07-223907721.1 MBQuery Sales Orders
Query all sales orders
Query parameters
Search for a specific sales order number.
Search for a specific external order number.
Search for a specific billing number.
Represents a unique key for identifying a customer in the JTL system.
Gets the unique identifier for the customer.
Gets a value indicating whether the customer key represents an existing customer.
0 = UnPayed, 1 = PartialPayed, 2 = Payed
Search for a specific payment status.
0 = DeliveryNotComplete, 1 = DeliveryComplete, 2 = DeliveryCompleteWithoutNote
Search for a specific payment status.
Represents a key for identifying a firm within the application.
Gets the unique identifier for the firm.
Search for a specific sales channel Id.
Search for sales orders created after this date.
Search for sales orders created before this date.
Represents a key for identifying a color entity in the system.
Gets the unique identifier for the color.
Search for sales orders with a specific eBay username.
Search for sales orders delivered on this date.
Determines if the sales order is cancelled.
Determines if the sales order is an external invoice.
Number of the page of items to fetch.
Size of the page that is specified by pageNumber.
Headers
The tenant ID for the target ERP instance.
The User-Id (int or uuid) on whose behalf the request is executed. Requires scope 'Application.RunAs'.
The Company-Id (int or uuid) of the company on whose behalf the request is executed.
Response
Returns all non-pending sales orders.
Example response
{
"items": [
{
"id": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"companyId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"customerId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"billingAddress": {
"id": "b45f6432-2462-4c6f-b00f-1d9d01000000"
},
"shipmentaddress": {
"id": "b45f6432-2462-4c6f-b00f-1d9d01000000"
},
"salesOrderPaymentDetails": {
"paymentMethodId": "b45f6432-2462-4c6f-b00f-1d9d01000000"
},
"salesOrderShippingDetail": {
"shippingMethodId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"onHoldReasonId": "b45f6432-2462-4c6f-b00f-1d9d01000000"
},
"colorcodeId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"cancellationDetails": {
"cancellationReasonId": "b45f6432-2462-4c6f-b00f-1d9d01000000"
},
"userCreatedId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"userId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"transactionStatusId": "b45f6432-2462-4c6f-b00f-1d9d01000000"
}
]
}