> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://rockwell.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://rockwell.ferndocs.com/_mcp/server.

# List Sales Orders

GET https://connect.plex.com/sales/v1/orders

List Sales Orders by query parameters.

Reference: https://rockwell.ferndocs.com/api-reference/sales-orders-api/list-sales-orders

## Request

### Query parameters

- `limit` (integer, optional) — Maximum records to return
- `offset` (integer, optional) — Records to skip

## Response

### 200

Success

- `data` (list of SalesV1OrdersGetResponsesContentApplicationJsonSchemaDataItems, optional)
- `pagination` (SalesV1OrdersGetResponsesContentApplicationJsonSchemaPagination, optional)

## Errors

### 401 Unauthorized Error

Unauthorized

- `error` (SalesV1OrdersGetResponsesContentApplicationJsonSchemaError, optional)

## Types

### SalesV1OrdersGetResponsesContentApplicationJsonSchemaDataItems

- `id` (string, optional)
- `customerNo` (string, optional)
- `customerId` (string, optional)
- `customerName` (string, optional)
- `customerPoNumber` (string, optional)
- `orderDate` (datetime, optional)
- `requestedShipDate` (datetime, optional)
- `paymentTerms` (string, optional)
- `currency` (string, optional)
- `status` (string, optional)
- `totalAmount` (double, optional)

### SalesV1OrdersGetResponsesContentApplicationJsonSchemaPagination

- `limit` (integer, optional)
- `offset` (integer, optional)
- `total` (integer, optional)
- `hasMore` (boolean, optional)

### SalesV1OrdersGetResponsesContentApplicationJsonSchemaError

- `code` (string, optional)
- `message` (string, optional)
- `details` (string, optional)
- `timestamp` (datetime, optional)
- `requestId` (string, optional)

## Examples

**Response**

```json
{
  "data": [
    {
      "id": "so-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "customerNo": "00000000-0000-0000-0000-000000000000",
      "customerId": "CUST-001",
      "customerName": "Ford Authorized Distributor",
      "customerPoNumber": "CUST-PO-2026-12345",
      "orderDate": "2026-02-18T00:00:00Z",
      "requestedShipDate": "2026-02-20T00:00:00Z",
      "paymentTerms": "Net 30",
      "currency": "USD",
      "status": "Open",
      "totalAmount": 15250
    },
    {
      "id": "so-b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "customerNo": "00000000-0000-0000-0000-000000000001",
      "customerId": "CUST-002",
      "customerName": "General Motors Supply Chain",
      "customerPoNumber": "GM-PO-2026-67890",
      "orderDate": "2026-02-15T00:00:00Z",
      "requestedShipDate": "2026-02-22T00:00:00Z",
      "paymentTerms": "Net 45",
      "currency": "USD",
      "status": "Confirmed",
      "totalAmount": 42800.75
    },
    {
      "id": "so-c3d4e5f6-a7b8-9012-cdef-123456789012",
      "customerNo": "00000000-0000-0000-0000-000000000002",
      "customerId": "CUST-003",
      "customerName": "Toyota North America",
      "customerPoNumber": "TNA-PO-2026-11223",
      "orderDate": "2026-02-10T00:00:00Z",
      "requestedShipDate": "2026-02-25T00:00:00Z",
      "paymentTerms": "Net 30",
      "currency": "USD",
      "status": "Shipped",
      "totalAmount": 8930.5
    }
  ],
  "pagination": {
    "limit": 100,
    "offset": 0,
    "total": 3,
    "hasMore": false
  }
}
```

**SDK Code**

```python listSalesOrders_example
import requests

url = "https://connect.plex.com/sales/v1/orders"

querystring = {"limit":"100","offset":"0"}

response = requests.get(url, params=querystring)

print(response.json())
```

```javascript listSalesOrders_example
const url = 'https://connect.plex.com/sales/v1/orders?limit=100&offset=0';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go listSalesOrders_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://connect.plex.com/sales/v1/orders?limit=100&offset=0"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby listSalesOrders_example
require 'uri'
require 'net/http'

url = URI("https://connect.plex.com/sales/v1/orders?limit=100&offset=0")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java listSalesOrders_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://connect.plex.com/sales/v1/orders?limit=100&offset=0")
  .asString();
```

```php listSalesOrders_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://connect.plex.com/sales/v1/orders?limit=100&offset=0');

echo $response->getBody();
```

```csharp listSalesOrders_example
using RestSharp;

var client = new RestClient("https://connect.plex.com/sales/v1/orders?limit=100&offset=0");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift listSalesOrders_example
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://connect.plex.com/sales/v1/orders?limit=100&offset=0")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```