> For the complete documentation index, see [llms.txt](https://docs.xorosoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xorosoft.com/developers-api/sales-order-management/list-sales-orders.md).

# List Sales Orders

Retrieves List of Sales Orders from the database. The data returned from this API will be paged\
Paging supported.

```json
{"openapi":"3.0.3","info":{"title":"Xorosoft ERP Public API","version":"2026.07"},"tags":[{"name":"Sales Order Management","description":"Use Sales Order Management APIs to create, retrieve, release, close, cancel, and inspect sales orders. These endpoints support order integrations from ecommerce, marketplace, EDI, B2B, and customer-service systems. Sales order payloads commonly include customer, store, shipping, billing, payment terms, order dates, line items, quantities, pricing, taxes, discounts, and third-party reference fields."}],"servers":[{"url":"https://res.xorosoft.io","description":"Xorosoft ERP API server"}],"security":[{"basic":[]}],"components":{"securitySchemes":{"basic":{"scheme":"basic","type":"http"}}},"paths":{"/api/xerp/salesorder/getsalesorder":{"get":{"parameters":[{"description":"A comma-separated list of sales order ids","in":"query","name":"id","required":false,"schema":{"type":"number"}},{"description":"A comma-separated list of sales order numbers","in":"query","name":"order_number","required":false,"schema":{"type":"string"}},{"description":"A comma-separated list of customer names","in":"query","name":"customer_name","required":false,"schema":{"type":"string"}},{"description":"A comma-separated list of store names","in":"query","name":"store_name","required":false,"schema":{"type":"string"}},{"description":"A comma-separated list of third party reference numbers","in":"query","name":"third_party_ref_no","required":false,"schema":{"type":"string"}},{"description":"A comma-separated list of sales order reference numbers","in":"query","name":"ref_no","required":false,"schema":{"type":"string"}},{"description":"Restrict results to after the specified ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Show sales orders created at or after date (format: 2014-04-25T16:15:47-04:00)","in":"query","name":"created_at_min","required":false,"schema":{"type":"string"}},{"description":"Show sales orders updated at or after date (format: 2014-04-25T16:15:47-04:00)","in":"query","name":"updated_at_min","required":false,"schema":{"type":"string"}},{"description":"Show sales orders created at or before date (format: 2014-04-25T16:15:47-04:00)","in":"query","name":"created_at_max","required":false,"schema":{"type":"string"}},{"description":"Show sales orders updated at or before date (format: 2014-04-25T16:15:47-04:00)","in":"query","name":"updated_at_max","required":false,"schema":{"type":"string"}},{"description":"A comma-separated list of statuses","in":"query","name":"status","required":false,"schema":{"type":"string"}},{"description":"Page number for the query result set. Default = 1","in":"query","name":"page","required":true,"schema":{"type":"number"}},{"name":"sale_store_name","in":"query","required":false,"description":"Sales store name used to filter or assign the transaction.","schema":{"type":"string"}},{"name":"account3pl_id","in":"query","required":false,"description":"3PL account identifier.","schema":{"type":"string"}},{"name":"exclude_processed","in":"query","required":false,"description":"When true, excludes records already marked as processed.","schema":{"type":"boolean","default":false}},{"name":"third_party_source","in":"query","required":false,"description":"Name of the external system or channel that supplied the transaction.","schema":{"type":"string"}},{"name":"customer_id","in":"query","required":false,"description":"Customer identifier in Xorosoft ERP.","schema":{"type":"string"}},{"name":"query","in":"query","required":false,"description":"Search text used by the endpoint where supported.","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"Data":{"items":{"properties":{"SoEstimateHeader":{"properties":{"AllocatableAmount":{"type":"number"},"AllocationPercentage":{"type":"number"},"AllocationPercentagePreview":{"type":"number"},"AllocationStatusId":{"type":"number","nullable":true},"AllocationStatusName":{"type":"string","nullable":true},"ApplyPricingRule":{"type":"boolean"},"ApprovalStatusChangeDttm":{"type":"string","nullable":true},"ApprovalStatusChangeSource":{"type":"string","nullable":true},"ApprovalStatusName":{"type":"string","nullable":true},"AuthorizationDetailList":{"type":"array","items":{"type":"object","additionalProperties":true},"nullable":true},"AutoCreateCarrierFlag":{"type":"boolean"},"AutoDepositTotalAmount":{"type":"number","nullable":true},"BillToAddr":{"type":"string"},"BillToAddr2":{"type":"string"},"BillToAddrName":{"type":"string","nullable":true},"BillToCity":{"type":"string"},"BillToCompanyName":{"type":"string"},"BillToCountry":{"type":"string"},"BillToCountryISO2":{"type":"string","nullable":true},"BillToEmail":{"type":"string"},"BillToFirstName":{"type":"string"},"BillToLastName":{"type":"string"},"BillToName":{"type":"string"},"BillToPhoneNumber":{"type":"string"},"BillToState":{"type":"string"},"BillToStateAbbr":{"type":"string","nullable":true},"BillToZpCode":{"type":"string"},"BrandId":{"type":"number","nullable":true},"BrandName":{"type":"string","nullable":true},"BuyerId":{"type":"number","nullable":true},"BuyerName":{"type":"string","nullable":true},"CampaignId":{"type":"number","nullable":true},"CampaignName":{"type":"string","nullable":true},"CancelledFlag":{"type":"boolean"},"CaptureLater":{"type":"boolean"},"CardId":{"type":"number","nullable":true},"CardNumber":{"type":"number","nullable":true},"CardPaymentProcessedFlag":{"type":"boolean"},"CarrierId":{"type":"number"},"CarrierName":{"type":"string"},"ChargeId":{"type":"number","nullable":true},"ChargeTypeId":{"type":"number","nullable":true},"CreateDttm":{"type":"string"},"CreateSource":{"type":"string"},"CurrencyCode":{"type":"string"},"CurrencyId":{"type":"number"},"CurrencyName":{"type":"string"},"CurrencySymbol":{"type":"string"},"CustomFieldH1":{"type":"string","nullable":true},"CustomFieldH10":{"type":"string","nullable":true},"CustomFieldH11":{"type":"string","nullable":true},"CustomFieldH12":{"type":"string","nullable":true},"CustomFieldH13":{"type":"string","nullable":true},"CustomFieldH14":{"type":"string","nullable":true},"CustomFieldH15":{"type":"string","nullable":true},"CustomFieldH16":{"type":"string","nullable":true},"CustomFieldH17":{"type":"string","nullable":true},"CustomFieldH18":{"type":"string","nullable":true},"CustomFieldH19":{"type":"string","nullable":true},"CustomFieldH2":{"type":"string","nullable":true},"CustomFieldH20":{"type":"string","nullable":true},"CustomFieldH21":{"type":"string","nullable":true},"CustomFieldH22":{"type":"string","nullable":true},"CustomFieldH23":{"type":"string","nullable":true},"CustomFieldH24":{"type":"string","nullable":true},"CustomFieldH25":{"type":"string","nullable":true},"CustomFieldH26":{"type":"string","nullable":true},"CustomFieldH27":{"type":"string","nullable":true},"CustomFieldH28":{"type":"string","nullable":true},"CustomFieldH29":{"type":"string","nullable":true},"CustomFieldH3":{"type":"string","nullable":true},"CustomFieldH30":{"type":"string","nullable":true},"CustomFieldH4":{"type":"string","nullable":true},"CustomFieldH5":{"type":"string","nullable":true},"CustomFieldH6":{"type":"string","nullable":true},"CustomFieldH7":{"type":"string","nullable":true},"CustomFieldH8":{"type":"string","nullable":true},"CustomFieldH9":{"type":"string","nullable":true},"CustomerContact":{"type":"string"},"CustomerDefaultBillingEmail":{"type":"string","nullable":true},"CustomerDefaultShipmentupdatesEmail":{"type":"string","nullable":true},"CustomerEmailCC":{"type":"string","nullable":true},"CustomerEmailMain":{"type":"string"},"CustomerFirstName":{"type":"string","nullable":true},"CustomerFullName":{"type":"string"},"CustomerGroupId":{"type":"number"},"CustomerId":{"type":"number"},"CustomerLastName":{"type":"string","nullable":true},"CustomerMainPhone":{"type":"string"},"CustomerMessage":{"type":"string"},"CustomerName":{"type":"string"},"CustomerPO":{"type":"string"},"CustomerServiceRepFullName":{"type":"string","nullable":true},"CustomerServiceRepId":{"type":"number","nullable":true},"CustomerTaxCodeId":{"type":"number","nullable":true},"Cvc":{"type":"string","nullable":true},"DateFirstShip":{"type":"string","nullable":true},"DateFulFilled":{"type":"string","nullable":true},"DateLastShip":{"type":"string","nullable":true},"DateRelease":{"type":"string","nullable":true},"DateTimeCancelled":{"type":"string","nullable":true},"DateToBeCancelled":{"type":"string","nullable":true},"DateToBeShipped":{"type":"string"},"DefaultLocationId":{"type":"number","nullable":true},"DefaultLocationName":{"type":"string","nullable":true},"DepositAccountName":{"type":"string","nullable":true},"DepositAmount":{"type":"number","nullable":true},"DepositDue":{"type":"number"},"DepositEmailSentCount":{"type":"number"},"DepositEmailSentFlag":{"type":"boolean"},"DepositRequiredAmount":{"type":"number"},"DepositRequiredFlag":{"type":"boolean"},"DepositRequiredType":{"type":"number"},"DepositRequiredTypeName":{"type":"string","nullable":true},"DiscountAmount":{"type":"number"},"Email":{"type":"string","nullable":true},"EstimateFollowUpDate":{"type":"string","nullable":true},"EstimateToSoFlag":{"type":"boolean"},"EstimateValidUntilDate":{"type":"string","nullable":true},"ExchangeRate":{"type":"number"},"ExchangeRateFormula":{"type":"string","nullable":true},"ExpirationMonth":{"type":"string","nullable":true},"ExpirationYear":{"type":"string","nullable":true},"FobId":{"type":"number"},"FobName":{"type":"string"},"FullfillmentPercentage":{"type":"number"},"HasRestrictionFlag":{"type":"boolean"},"Id":{"type":"number"},"ImageList":{"type":"array","items":{"type":"object","additionalProperties":true},"nullable":true},"IntAccntId":{"type":"number","nullable":true},"InvoiceCounter":{"type":"number"},"IsClosed":{"type":"boolean"},"IsCreatedFromB2BFlag":{"type":"boolean"},"IsEstimateModule":{"type":"boolean"},"IsOrderTaxExempt":{"type":"boolean"},"IsTaxableFlag":{"type":"number"},"LastDateToBeShipped":{"type":"string","nullable":true},"LastDepositEmailSentDttm":{"type":"string","nullable":true},"LastDepositEmailSentSource":{"type":"string"},"LiabilityAccountName":{"type":"string","nullable":true},"Memo":{"type":"string"},"MerchantResponseData":{"type":"string","nullable":true},"MerchantReturnRefNumber":{"type":"number","nullable":true},"MerchantTypeId":{"type":"number","nullable":true},"ModifyDttm":{"type":"string"},"ModifySource":{"type":"string"},"NameOnCard":{"type":"string","nullable":true},"NoTaxCompareFlag":{"type":"boolean"},"OrderClassCode":{"type":"string"},"OrderClassName":{"type":"string"},"OrderDate":{"type":"string"},"OrderNumber":{"type":"string"},"OrderRefNumber":{"type":"number","nullable":true},"OrderTypeCode":{"type":"string","nullable":true},"OrderTypeName":{"type":"string","nullable":true},"PaymentAmount":{"type":"number"},"PaymentCurrencyId":{"type":"number"},"PaymentMethodName":{"type":"string","nullable":true},"PaymentProcessed":{"type":"boolean"},"PaymentReceipt":{"type":"string","nullable":true},"PaymentServiceAccountId":{"type":"number"},"PaymentTermsId":{"type":"number"},"PaymentTermsName":{"type":"string"},"PresentationCode":{"type":"string","nullable":true},"PresentationId":{"type":"number"},"PresentationName":{"type":"string","nullable":true},"PriorityId":{"type":"number","nullable":true},"PriorityName":{"type":"string"},"ProcessCreditCard":{"type":"boolean"},"ProjectClassId":{"type":"number"},"ProjectClassName":{"type":"string"},"QtyToAllocateAfter":{"type":"number"},"QtyToAllocateBefore":{"type":"number"},"ReCalcShippingTaxesFlag":{"type":"boolean"},"ReCalcTaxesFlag":{"type":"boolean"},"RecalculateTaxes":{"type":"boolean"},"RefId":{"type":"number","nullable":true},"RefNo":{"type":"string"},"ReportDataObj":{"properties":{"EntityAccntId":{"type":"string"},"EntityName":{"type":"string"},"ReportEntityId":{"type":"number"},"TxnRefId":{"type":"number"},"TxnRefNumber":{"type":"string"},"TxnTypeId":{"type":"number"}},"type":"object"},"ResidentialFlag":{"type":"boolean","nullable":true},"RiskAnalysis":{"type":"string","nullable":true},"SaleStoreId":{"type":"number"},"SaleStoreName":{"type":"string"},"SalesRepFullName":{"type":"string"},"SalesRepId":{"type":"string"},"SaveCreditCardInfo":{"type":"boolean"},"ShipMethodId":{"type":"number"},"ShipMethodName":{"type":"string"},"ShipPackageTypeId":{"type":"number","nullable":true},"ShipServiceCode":{"type":"string"},"ShipServiceId":{"type":"number"},"ShipServiceName":{"type":"string"},"ShipToAddr":{"type":"string"},"ShipToAddr2":{"type":"string"},"ShipToAddrName":{"type":"string"},"ShipToCity":{"type":"string"},"ShipToCompanyName":{"type":"string"},"ShipToCountry":{"type":"string"},"ShipToCountryISO2":{"type":"string","nullable":true},"ShipToEmail":{"type":"string"},"ShipToFirstName":{"type":"string"},"ShipToLastName":{"type":"string"},"ShipToName":{"type":"string"},"ShipToPhoneNumber":{"type":"string"},"ShipToState":{"type":"string"},"ShipToStateAbbr":{"type":"string","nullable":true},"ShipToZpCode":{"type":"string"},"ShippingAccountNumber":{"type":"string"},"ShippingAmount":{"type":"number"},"ShippingCost":{"type":"number"},"ShippingCostInvoiced":{"type":"string","nullable":true},"ShippingCostRemaining":{"type":"number"},"ShippingNotes":{"type":"string"},"ShippingTaxCodeId":{"type":"number"},"ShippingTaxCodeName":{"type":"string"},"ShippingTaxData":{"properties":{"taxItems":{"items":{"properties":{"itemAmount":{"type":"number"},"itemId":{"type":"number"},"itemName":{"type":"string"},"itemRatePerc":{"type":"number"},"lineAmount":{"type":"number"}},"type":"object"},"type":"array"},"totalAmount":{"type":"number"}},"type":"object"},"ShippingTaxItems":{"items":{"properties":{"Id":{"type":"number"},"Name":{"type":"string"},"Rate":{"type":"number"},"RateType":{"type":"string"},"TotalAmount":{"type":"number"}},"type":"object"},"type":"array"},"ShippingTermsId":{"type":"number"},"ShippingTermsName":{"type":"string"},"ShippingTypeId":{"type":"number","nullable":true},"ShippingTypeName":{"type":"string"},"SoSubTypeId":{"type":"number"},"SoSubTypeName":{"type":"string"},"StatusId":{"type":"number"},"StatusName":{"type":"string"},"StoreId":{"type":"number"},"StoreName":{"type":"string"},"SubTotal":{"type":"number"},"SubTotalExclDiscount":{"type":"number"},"Tags":{"type":"string"},"TaxCalcByAddress":{"type":"boolean"},"TaxCalcType":{"type":"string","nullable":true},"TaxOperationCountryCode":{"type":"string","nullable":true},"TaxSummaryDataText":{"type":"string","nullable":true},"TemplateId":{"type":"number","nullable":true},"ThirdPartyDefaultSKU":{"type":"string","nullable":true},"ThirdPartyDisplayName":{"type":"string"},"ThirdPartyFulfillmentAccount":{"type":"number","nullable":true},"ThirdPartyFulfillmentRefId":{"type":"number","nullable":true},"ThirdPartyFulfillmentStatus":{"type":"string","nullable":true},"ThirdPartyIconUrl":{"type":"string"},"ThirdPartyRefNo":{"type":"string"},"ThirdPartyShippingRefNo":{"type":"string"},"ThirdPartySource":{"type":"string"},"ThirdPartyTotalAmount":{"type":"number","nullable":true},"ThirdPartyTotalTaxAmount":{"type":"number"},"ToBeEmailedFlag":{"type":"boolean","nullable":true},"ToBeMailedFlag":{"type":"boolean","nullable":true},"ToBePrintedFlag":{"type":"boolean","nullable":true},"TotalAmount":{"type":"number"},"TotalDeposit":{"type":"number"},"TotalQty":{"type":"number"},"TotalTaxAmount":{"type":"number"},"TotalWaveCount":{"type":"number"},"TotalWeight":{"type":"string","nullable":true},"TrackingNumbers":{"type":"string","nullable":true},"TransactionComplete":{"type":"boolean"},"TransferFromStoreId":{"type":"number","nullable":true},"TransferFromStoreName":{"type":"string","nullable":true},"TransferPoId":{"type":"number","nullable":true},"TransferPoNumber":{"type":"string"},"TransferProcessedFlag":{"type":"boolean"},"TransferToStoreId":{"type":"number","nullable":true},"TransferToStoreName":{"type":"string"},"TxnId":{"type":"number","nullable":true},"TxnNumber":{"type":"number"},"TxnTypeId":{"type":"number","nullable":true},"TypeId":{"type":"number"},"TypeName":{"type":"string"},"UpdateExchangeRateFlag":{"type":"boolean"},"UseDefaultSKUWhenError":{"type":"boolean"},"UseDifferentPaymentServiceAccount":{"type":"boolean"},"VendorPO":{"type":"string"},"WeightUomId":{"type":"number"},"cardLast4Digits":{"type":"string","nullable":true}},"type":"object"},"SoEstimateItemLineArr":{"items":{"properties":{"AmountAllocatedBefore":{"type":"number"},"AmountAllocatedPreview":{"type":"number"},"AuthorizationDetailList":{"type":"array","items":{"type":"object","additionalProperties":true},"nullable":true},"AutoVoidWaveLine":{"type":"boolean"},"BasePartNumber":{"type":"string"},"BaseUomId":{"type":"number"},"BaseUomName":{"type":"string"},"CloseFlag":{"type":"boolean","nullable":true},"CreateDttm":{"type":"string"},"CreateSource":{"type":"string","nullable":true},"CurrencySymbol":{"type":"string","nullable":true},"CustomFieldD1":{"type":"string"},"CustomFieldD10":{"type":"string"},"CustomFieldD11":{"type":"string"},"CustomFieldD12":{"type":"string"},"CustomFieldD13":{"type":"string"},"CustomFieldD14":{"type":"string"},"CustomFieldD15":{"type":"string"},"CustomFieldD16":{"type":"string"},"CustomFieldD17":{"type":"string"},"CustomFieldD18":{"type":"string"},"CustomFieldD19":{"type":"string"},"CustomFieldD2":{"type":"string"},"CustomFieldD20":{"type":"string"},"CustomFieldD21":{"type":"string"},"CustomFieldD22":{"type":"string"},"CustomFieldD23":{"type":"string"},"CustomFieldD24":{"type":"string"},"CustomFieldD25":{"type":"string"},"CustomFieldD26":{"type":"string"},"CustomFieldD27":{"type":"string"},"CustomFieldD28":{"type":"string"},"CustomFieldD29":{"type":"string"},"CustomFieldD3":{"type":"string"},"CustomFieldD30":{"type":"string"},"CustomFieldD4":{"type":"string"},"CustomFieldD5":{"type":"string"},"CustomFieldD6":{"type":"string"},"CustomFieldD7":{"type":"string"},"CustomFieldD8":{"type":"string"},"CustomFieldD9":{"type":"string"},"DateFirstShip":{"type":"string","nullable":true},"DateFulfilled":{"type":"string","nullable":true},"DateLastShip":{"type":"string","nullable":true},"DateRelease":{"type":"string","nullable":true},"DateToBeShipped":{"type":"string"},"DefaultVendorId":{"type":"number","nullable":true},"DefaultVendorName":{"type":"string"},"DeleteFlag":{"type":"boolean"},"Description":{"type":"string"},"Discount":{"type":"number"},"DiscountTypeId":{"type":"number"},"DiscountTypeName":{"type":"string"},"EditState":{"type":"boolean"},"EffectiveUnitPrice":{"type":"number"},"ExternalItemNumber":{"type":"string"},"ForceSalesTaxCode":{"type":"boolean"},"HasRestriction":{"type":"boolean"},"Id":{"type":"number"},"ImageList":{"type":"array","items":{"type":"object","additionalProperties":true},"nullable":true},"ImagePath":{"type":"string"},"IsKitHeader":{"type":"boolean"},"IsKitItem":{"type":"boolean"},"IsTaxableFlag":{"type":"boolean"},"IsoCode2":{"type":"string"},"IsoCountryName":{"type":"string"},"ItemId":{"type":"number"},"ItemNotes":{"type":"string","nullable":true},"ItemNumber":{"type":"string"},"ItemTypeId":{"type":"number"},"ItemTypeName":{"type":"string"},"ItemUpc":{"type":"string"},"KitItemFactor":{"type":"number"},"LastDateToBeShipped":{"type":"string","nullable":true},"LineNumber":{"type":"number"},"MasterKitId":{"type":"number","nullable":true},"MasterKitKey":{"type":"string"},"MoRefNumbers":{"type":"string"},"ModifyDttm":{"type":"string","nullable":true},"ModifySource":{"type":"string","nullable":true},"Notes":{"type":"string"},"OpenFLag":{"type":"boolean","nullable":true},"Option1Name":{"type":"string"},"Option1Value":{"type":"string"},"Option1ValueCode":{"type":"string"},"Option2Name":{"type":"string"},"Option2Value":{"type":"string"},"Option2ValueCode":{"type":"string"},"ProductHeaderId":{"type":"number"},"ProjectClassId":{"type":"number","nullable":true},"ProjectClassName":{"type":"string"},"Qty":{"type":"number"},"QtyAllocated":{"type":"number"},"QtyAllocatedPreview":{"type":"string","nullable":true},"QtyDecimalFlag":{"type":"boolean"},"QtyOrdered":{"type":"number"},"QtyRemainingToShip":{"type":"number"},"QtyShipped":{"type":"number"},"RefId":{"type":"number","nullable":true},"RestrictionOverrideFlag":{"type":"boolean"},"RestrictionOverridePrice":{"type":"number","nullable":true},"RestrictionOverrideUser":{"type":"string"},"SellUomId":{"type":"number"},"SellUomName":{"type":"string"},"SoId":{"type":"number"},"StatusId":{"type":"number"},"StatusName":{"type":"string"},"TaxAmount":{"type":"number"},"TaxCodeId":{"type":"number"},"TaxCodeName":{"type":"string"},"TaxData":{"properties":{"taxItems":{"items":{"properties":{"itemAmount":{"type":"number"},"itemId":{"type":"number"},"itemName":{"type":"string"},"itemRatePerc":{"type":"number"},"lineAmount":{"type":"number"}},"type":"object"},"type":"array"},"totalAmount":{"type":"number"}},"type":"object"},"TaxItems":{"items":{"properties":{"Id":{"type":"number"},"Name":{"type":"string"},"Rate":{"type":"number"},"RateType":{"type":"string"},"TotalAmount":{"type":"number"}},"type":"object"},"type":"array"},"ThirdPartyRefNo":{"type":"string"},"ThirdPartySourceHeader":{"type":"string","nullable":true},"TotalAmount":{"type":"number"},"TxnTypeId":{"type":"number","nullable":true},"UnitPrice":{"type":"number"},"UomFactor":{"type":"string","nullable":true},"VASItemCost":{"type":"number","nullable":true},"VASItemId":{"type":"number","nullable":true},"VASItemName":{"type":"string"},"VariantInfo":{"type":"string"},"VariantInfoColored":{"type":"string"},"WaveLineId":{"type":"number"},"Weight":{"type":"string","nullable":true},"WeightUomId":{"type":"number"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"},"IsForwardRequest":{"type":"boolean"},"Message":{"type":"string"},"MessageTitle":{"type":"string","nullable":true},"Result":{"type":"boolean"}},"type":"object"}}},"description":"OK","headers":{}}},"tags":["Sales Order Management"],"description":"Retrieves List of Sales Orders from the database.\nThe data returned from this API will be paged<br>\n<b>Paging supported</b>.","operationId":"get_salesorder_getsalesorder","summary":"List Sales Orders"}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.xorosoft.com/developers-api/sales-order-management/list-sales-orders.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
