> 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 Purchase Orders

GET https://connect.plex.com/purchasing/v1/purchase-orders

Retrieves a paginated list of purchase orders with optional filtering by status, supplier, date range, and other criteria. Returns a summary view of each purchase order.

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

## Request

### Query parameters

- `limit` (integer, optional) — Maximum number of records to return (default: 100, max: 1000)
- `offset` (integer, optional) — Number of records to skip for pagination (default: 0)
- `status` (string, optional) — Filter by PO status (Open, Closed, Cancelled, Partial)
- `supplierId` (string, optional) — Filter by supplier ID
- `startDate` (string, optional) — Filter POs created on or after this date (ISO 8601 format)
- `endDate` (string, optional) — Filter POs created on or before this date (ISO 8601 format)

## Response

### 200

Success Response

- `data` (list of PurchasingV1PurchaseOrdersGetResponsesContentApplicationJsonSchemaDataItems, optional)
- `pagination` (PurchasingV1PurchaseOrdersGetResponsesContentApplicationJsonSchemaPagination, optional)

## Types

### PurchasingV1PurchaseOrdersGetResponsesContentApplicationJsonSchemaDataItems

- `id` (string, optional)
- `poNumber` (string, optional)
- `supplierId` (string, optional)
- `supplierCode` (string, optional)
- `supplierName` (string, optional)
- `poDate` (datetime, optional)
- `dueDate` (datetime, optional)
- `status` (string, optional)
- `currencyCode` (string, optional)
- `totalAmount` (integer, optional)
- `terms` (string, optional)
- `buyerName` (string, optional)
- `lineCount` (integer, optional)

### PurchasingV1PurchaseOrdersGetResponsesContentApplicationJsonSchemaPagination

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

## Examples

**Response**

```json
{
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "poNumber": "PO-2026-001234",
      "supplierId": "SUP-001",
      "supplierCode": "ACME-CORP",
      "supplierName": "ACME Corporation",
      "poDate": "2026-02-10T19:58:00.00Z",
      "dueDate": "2026-03-12T00:00:00.00Z",
      "status": "Open",
      "currencyCode": "USD",
      "totalAmount": 15750,
      "terms": "Net 30",
      "buyerName": "John Smith",
      "lineCount": 2
    },
    {
      "id": "223e4567-e89b-12d3-a456-426614174001",
      "poNumber": "PO-2026-001235",
      "supplierId": "SUP-002",
      "supplierCode": "WIDGETS-INC",
      "supplierName": "Widgets Incorporated",
      "poDate": "2026-02-09T14:30:00.00Z",
      "dueDate": "2026-03-09T00:00:00.00Z",
      "status": "Partial",
      "currencyCode": "USD",
      "totalAmount": 1,
      "terms": "Net 60",
      "buyerName": "Jane Doe",
      "lineCount": 3
    },
    {
      "id": "323e4567-e89b-12d3-a456-426614174002",
      "poNumber": "PO-2026-001236",
      "supplierId": "SUP-003",
      "supplierCode": "SUPPLY-CO",
      "supplierName": "Supply Company LLC",
      "poDate": "2026-02-08T09:15:00.00Z",
      "dueDate": "2026-02-22T00:00:00.00Z",
      "status": "Open",
      "currencyCode": "USD",
      "totalAmount": 3250,
      "terms": "Net 30",
      "buyerName": "John Smith",
      "lineCount": 1
    }
  ],
  "pagination": {
    "total": 3,
    "limit": 100,
    "offset": 0,
    "hasMore": false
  }
}
```

**SDK Code**

```python listPurchaseOrders_example
import requests

url = "https://connect.plex.com/purchasing/v1/purchase-orders"

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

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

print(response.json())
```

```javascript listPurchaseOrders_example
const url = 'https://connect.plex.com/purchasing/v1/purchase-orders?limit=100&offset=0&status=Open';
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 listPurchaseOrders_example
package main

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

func main() {

	url := "https://connect.plex.com/purchasing/v1/purchase-orders?limit=100&offset=0&status=Open"

	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 listPurchaseOrders_example
require 'uri'
require 'net/http'

url = URI("https://connect.plex.com/purchasing/v1/purchase-orders?limit=100&offset=0&status=Open")

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 listPurchaseOrders_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

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

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

$client = new \GuzzleHttp\Client();

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

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

```csharp listPurchaseOrders_example
using RestSharp;

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

```swift listPurchaseOrders_example
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://connect.plex.com/purchasing/v1/purchase-orders?limit=100&offset=0&status=Open")! 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()
```