> 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.

# Get Purchase Order

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

Retrieves a single purchase order by its unique identifier. Returns complete purchase order details including all line items, supplier information, and status.

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

## Request

### Path parameters

- `id` (string, required)

## Response

### 200

Success Response

- `id` (string, optional)
- `poNumber` (string, optional)
- `supplierNo` (string, optional)
- `supplierId` (string, optional)
- `supplierCode` (string, optional)
- `supplierName` (string, optional)
- `supplierAddressCode` (string, optional)
- `terms` (string, optional)
- `periodDisplay` (string, optional)
- `currencyCode` (string, optional)
- `status` (string, optional)
- `poDate` (datetime, optional)
- `dueDate` (datetime, optional)
- `expectedPayDate` (datetime, optional)
- `buyerName` (string, optional)
- `department` (string, optional)
- `exchangeRate` (integer, optional)
- `discount` (integer, optional)
- `discountableAmount` (integer, optional)
- `totalAmount` (integer, optional)
- `taxAmount` (integer, optional)
- `subtotal` (integer, optional)
- `debitMemo` (boolean, optional)
- `interCompany` (boolean, optional)
- `note` (string, optional)
- `checkMemo` (string, optional)
- `type` (string, optional)
- `createdDate` (datetime, optional)
- `createdBy` (string, optional)
- `modifiedDate` (datetime, optional)
- `modifiedBy` (string, optional)
- `lines` (list of PurchasingV1PurchaseOrdersIdGetResponsesContentApplicationJsonSchemaLinesItems, optional)

## Errors

### 404 Not Found Error

Not Found

- `error` (PurchasingV1PurchaseOrdersIdGetResponsesContentApplicationJsonSchemaError, optional)

## Types

### PurchasingV1PurchaseOrdersIdGetResponsesContentApplicationJsonSchemaLinesItems

- `lineNumber` (integer, optional)
- `accountId` (string, optional)
- `accountNumber` (string, optional)
- `description` (string, optional)
- `partNo` (string, optional)
- `partKey` (datetime, optional)
- `quantity` (integer, optional)
- `unit` (string, optional)
- `uoM` (string, optional)
- `rate` (integer, optional)
- `extendedAmount` (integer, optional)
- `taxCode` (string, optional)
- `department` (string, optional)
- `status` (string, optional)
- `receivedQuantity` (integer, optional)
- `remainingQuantity` (integer, optional)

### PurchasingV1PurchaseOrdersIdGetResponsesContentApplicationJsonSchemaError

- `code` (string, optional)
- `message` (string, optional)
- `resourceId` (string, optional)
- `resourceType` (string, optional)

## Examples

**Response**

```json
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "poNumber": "PO-2026-001234",
  "supplierNo": "00000000-0000-0000-0000-000000000000",
  "supplierId": "SUP-001",
  "supplierCode": "ACME-CORP",
  "supplierName": "ACME Corporation",
  "supplierAddressCode": "MAIN",
  "terms": "Net 30",
  "periodDisplay": "2026-02",
  "currencyCode": "USD",
  "status": "Open",
  "poDate": "2026-02-10T19:58:00.00Z",
  "dueDate": "2026-03-12T00:00:00.00Z",
  "expectedPayDate": "2026-03-12T00:00:00.00Z",
  "buyerName": "John Smith",
  "department": "Purchasing",
  "exchangeRate": 1,
  "discount": 0,
  "discountableAmount": 0,
  "totalAmount": 15750,
  "taxAmount": 750,
  "subtotal": 15000,
  "debitMemo": false,
  "interCompany": false,
  "note": "Quarterly order for manufacturing supplies",
  "checkMemo": "PO-2026-001234 - Q1 Supplies",
  "type": "Standard",
  "createdDate": "2026-02-10T19:58:00.00Z",
  "createdBy": "jsmith@example.com",
  "modifiedDate": "2026-02-10T19:58:00.00Z",
  "modifiedBy": "jsmith@example.com",
  "lines": [
    {
      "lineNumber": 1,
      "accountId": "acc-12345",
      "accountNumber": "5000-100",
      "description": "Steel plates - Grade A36",
      "partNo": "STL-A36-0.25-48X96",
      "partKey": "2026-02-10T19:58:00.00Z",
      "quantity": 100,
      "unit": "EA",
      "uoM": "Each",
      "rate": 125,
      "extendedAmount": 12500,
      "taxCode": "STANDARD",
      "department": "Manufacturing",
      "status": "Open",
      "receivedQuantity": 0,
      "remainingQuantity": 100
    },
    {
      "lineNumber": 2,
      "accountId": "acc-12346",
      "accountNumber": "5000-200",
      "description": "Welding wire - ER70S-6",
      "partNo": "WELD-ER70S6-035-25LB",
      "partKey": "2026-02-10T19:58:00.00Z",
      "quantity": 50,
      "unit": "BOX",
      "uoM": "Box",
      "rate": 50,
      "extendedAmount": 2500,
      "taxCode": "STANDARD",
      "department": "Manufacturing",
      "status": "Open",
      "receivedQuantity": 0,
      "remainingQuantity": 50
    }
  ]
}
```

**SDK Code**

```python getPurchaseOrder_example
import requests

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

response = requests.get(url)

print(response.json())
```

```javascript getPurchaseOrder_example
const url = 'https://connect.plex.com/purchasing/v1/purchase-orders/id';
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 getPurchaseOrder_example
package main

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

func main() {

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

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

url = URI("https://connect.plex.com/purchasing/v1/purchase-orders/id")

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 getPurchaseOrder_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/id")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://connect.plex.com/purchasing/v1/purchase-orders/id');

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

```csharp getPurchaseOrder_example
using RestSharp;

var client = new RestClient("https://connect.plex.com/purchasing/v1/purchase-orders/id");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift getPurchaseOrder_example
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://connect.plex.com/purchasing/v1/purchase-orders/id")! 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()
```