Retrieve a sales order
Retrieves a sales order by ID.
IMPORTANT: If you need to fetch multiple specific sales orders by ID, use the list endpoint instead with the ids parameter. It accepts an array of IDs so you can batch the request into a single call, which is significantly faster.
NOTE: The response automatically includes any linked transactions.
get/quickbooks-desktop/sales-orders/{id}
Path parameters
idstring required
The QuickBooks-assigned unique identifier of the sales order to retrieve.
Example:123ABC-1234567890
The QuickBooks-assigned unique identifier of the sales order to retrieve.
Headers
Conductor-End-User-Idstring required
The ID of the End-User to receive this request.
Example:end_usr_1234567abcdefg
The ID of the End-User to receive this request.
Response
Returns the specified sales order.
Example response
{
"id": "123ABC-1234567890",
"objectType": "qbd_sales_order",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"customer": {
"id": "80000001-1234567890",
"fullName": "Acme Corporation"
},
"class": {
"id": "80000001-1234567890",
"fullName": "Online Sales"
},
"documentTemplate": {
"id": "80000001-1234567890",
"fullName": "Sales Order Template"
},
"transactionDate": "2024-10-01",
"refNumber": "SO-1234",
"billingAddress": {
"line1": "Conductor Labs Inc.",
"line2": "540 Market St.",
"line3": "Suite 100",
"city": "San Francisco",
"state": "CA",
"postalCode": "94110",
"country": "United States",
"note": "Conductor HQ"
},
"shippingAddress": {
"line1": "Conductor Labs Inc.",
"line2": "540 Market St.",
"line3": "Suite 100",
"city": "San Francisco",
"state": "CA",
"postalCode": "94110",
"country": "United States",
"note": "Conductor HQ"
},
"purchaseOrderNumber": "PO-1234",
"terms": {
"id": "80000001-1234567890",
"fullName": "Net 30"
},
"dueDate": "2024-10-31",
"salesRepresentative": {
"id": "80000001-1234567890",
"fullName": "Jane Doe"
},
"shipmentOrigin": "San Francisco, CA",
"shippingDate": "2024-10-01",
"shippingMethod": {
"id": "80000001-1234567890",
"fullName": "FedEx Ground"
},
"subtotal": "1000.00",
"salesTaxItem": {
"id": "80000001-1234567890",
"fullName": "State Sales Tax"
},
"salesTaxPercentage": "0.07",
"salesTaxTotal": "10.00",
"totalAmount": "1000.00",
"currency": {
"id": "80000001-1234567890",
"fullName": "USD"
},
"exchangeRate": 1.2345,
"totalAmountInHomeCurrency": "1234.56",
"isManuallyClosed": true,
"memo": "Customer requested rush delivery",
"customerMessage": {
"id": "80000001-1234567890",
"fullName": "Thank you for your business!"
},
"isQueuedForPrint": true,
"isQueuedForEmail": true,
"salesTaxCode": {
"id": "80000001-1234567890",
"fullName": "Non"
},
"otherCustomField": "Special handling required",
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"linkedTransactions": [
{
"id": "123ABC-1234567890",
"objectType": "qbd_linked_transaction",
"transactionType": "invoice",
"transactionDate": "2024-10-01",
"refNumber": "LINK-1234",
"linkType": "amount",
"amount": "1000.00"
}
],
"lines": [
{
"id": "456DEF-1234567890",
"objectType": "qbd_sales_order_line",
"item": {
"id": "80000001-1234567890",
"fullName": "Widget A"
},
"description": "Widget Model X100 - Blue",
"quantity": 5,
"unitOfMeasure": "Each",
"overrideUnitOfMeasureSet": {
"id": "80000001-1234567890",
"fullName": "Volume Units"
},
"rate": "10.00",
"ratePercent": "10.5",
"class": {
"id": "80000001-1234567890",
"fullName": "West-Coast:Sales"
},
"amount": "1000.00",
"inventorySite": {
"id": "80000001-1234567890",
"fullName": "Main Warehouse"
},
"inventorySiteLocation": {
"id": "80000001-1234567890",
"fullName": "Aisle 3, Shelf B"
},
"serialNumber": "SN1234567890",
"lotNumber": "LOT2023-001",
"expirationDate": "2025-12-31",
"salesTaxCode": {
"id": "80000001-1234567890",
"fullName": "Non"
},
"quantityInvoiced": 5,
"isManuallyClosed": true,
"otherCustomField1": "Special handling required",
"otherCustomField2": "Always ship with a spare",
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}
],
"lineGroups": [
{
"id": "456DEF-1234567890",
"objectType": "qbd_sales_order_line_group",
"itemGroup": {
"id": "80000001-1234567890",
"fullName": "Office Supplies Bundle"
},
"description": "Service Bundle 1",
"quantity": 5,
"unitOfMeasure": "Each",
"overrideUnitOfMeasureSet": {
"id": "80000001-1234567890",
"fullName": "Volume Units"
},
"shouldPrintItemsInGroup": true,
"totalAmount": "1000.00",
"lines": [
{
"id": "456DEF-1234567890",
"objectType": "qbd_sales_order_line",
"item": {
"id": "80000001-1234567890",
"fullName": "Widget A"
},
"description": "Widget Model X100 - Blue",
"quantity": 5,
"unitOfMeasure": "Each",
"overrideUnitOfMeasureSet": {
"id": "80000001-1234567890",
"fullName": "Volume Units"
},
"rate": "10.00",
"ratePercent": "10.5",
"class": {
"id": "80000001-1234567890",
"fullName": "West-Coast:Sales"
},
"amount": "1000.00",
"inventorySite": {
"id": "80000001-1234567890",
"fullName": "Main Warehouse"
},
"inventorySiteLocation": {
"id": "80000001-1234567890",
"fullName": "Aisle 3, Shelf B"
},
"serialNumber": "SN1234567890",
"lotNumber": "LOT2023-001",
"expirationDate": "2025-12-31",
"salesTaxCode": {
"id": "80000001-1234567890",
"fullName": "Non"
},
"quantityInvoiced": 5,
"isManuallyClosed": true,
"otherCustomField1": "Special handling required",
"otherCustomField2": "Always ship with a spare",
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}
],
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}
],
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
],
"salesChannelName": "ecommerce",
"salesStoreName": "Store 1",
"salesStoreType": "Retail"
}