---
updatedAt: 2026-04-21T14:40:57.000Z
agentTools:
  projectIndex: https://developer.zylo.com/llms.txt
---

# Get Purchase Order by ID

### Required Permissions
`applications:read AND spend:read`
### Rate Limit
`basic`
### Premium Feature
Purchase Orders

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "components": {
    "schemas": {
      "UUID": {
        "type": "string",
        "example": "52907745-7672-470e-a803-a2f8feb52944",
        "description": "Stringified UUIDv4.",
        "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}"
      },
      "DateTime": {
        "type": "string",
        "format": "date-time",
        "description": "Diplays dates as a string in the format \"YYYY-MM-DD HH:MM:SS\"."
      },
      "DateDay": {
        "type": "string",
        "format": "date",
        "description": "Displays dates as a string in the format \"YYYY-MM-DD\"."
      },
      "JsonApiResponse": {
        "properties": {},
        "additionalProperties": {},
        "type": "object"
      },
      "PurchaseOrders": {
        "properties": {
          "account_number": {
            "type": "string",
            "nullable": true,
            "description": "The account number associated with the purchase order."
          },
          "amount": {
            "type": "string",
            "nullable": true,
            "description": "Total approved amount of the purchase order."
          },
          "contract_message": {
            "type": "string",
            "nullable": true,
            "description": "Details of the contract creation."
          },
          "external_closed_at": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DateDay"
              }
            ],
            "nullable": true,
            "description": "The date the source system reported as the close date of the purchase order."
          },
          "external_created_at": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DateDay"
              }
            ],
            "nullable": true,
            "description": "The date the source system reported as the creation date of the purchase order."
          },
          "id": {
            "$ref": "#/components/schemas/UUID",
            "description": "Unique identifier for a purchase order."
          },
          "metadata": {
            "allOf": [
              {
                "$ref": "#/components/schemas/JsonApiResponse"
              }
            ],
            "nullable": true,
            "description": "Raw source system data."
          },
          "number": {
            "type": "string",
            "nullable": true,
            "description": "The number of the purchase order."
          },
          "percent_spend_against": {
            "type": "string",
            "nullable": true,
            "description": "Total percent of associated spend against the purchase order's approved amount."
          },
          "remaining_spend_against": {
            "type": "string",
            "nullable": true,
            "description": "Remaining amount of associated spend against the purchase order."
          },
          "requisition_number": {
            "type": "string",
            "nullable": true,
            "description": "The requisition number associated with the purchase order."
          },
          "source": {
            "type": "string",
            "nullable": true,
            "description": "Source system of the purchase order."
          },
          "status": {
            "type": "string",
            "nullable": true,
            "description": "The status of the purchase order."
          },
          "supplier_id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UUID"
              }
            ],
            "nullable": true,
            "description": "The unique identifier for the supplier associated with the purchase order."
          },
          "total_spend_against": {
            "type": "string",
            "nullable": true,
            "description": "Total associated spend against the purchase order."
          },
          "vendor_name": {
            "type": "string",
            "nullable": true,
            "description": "The name of the vendor associated with the purchase order."
          },
          "zylo_created_at": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DateTime"
              }
            ],
            "nullable": true,
            "description": "Date and time the record was created in Zylo."
          },
          "zylo_modified_at": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DateTime"
              }
            ],
            "nullable": true,
            "description": "Date and time the record was last modified in Zylo. Uses the created date by default."
          }
        },
        "required": [
          "account_number",
          "amount",
          "contract_message",
          "external_closed_at",
          "external_created_at",
          "id",
          "metadata",
          "number",
          "percent_spend_against",
          "remaining_spend_against",
          "requisition_number",
          "source",
          "status",
          "supplier_id",
          "total_spend_against",
          "vendor_name",
          "zylo_created_at",
          "zylo_modified_at"
        ],
        "type": "object",
        "additionalProperties": true
      }
    },
    "securitySchemes": {
      "apiKey": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "info": {
    "title": "Resources",
    "version": "2.0.0"
  },
  "paths": {
    "/v2/purchaseOrders/{purchaseOrderId}": {
      "get": {
        "operationId": "PurchaseOrdersController_GetPurchaseOrderById",
        "responses": {
          "200": {
            "description": "Ok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrders"
                }
              }
            }
          }
        },
        "description": "### Required Permissions\n`applications:read AND spend:read`\n### Rate Limit\n`basic`\n### Premium Feature\nPurchase Orders",
        "summary": "Get Purchase Order by ID",
        "tags": [
          "Purchase Orders"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "purchaseOrderId",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/UUID"
            }
          }
        ],
        "x-proxy-enabled": false
      }
    }
  },
  "servers": [
    {
      "url": "https://api.zylo.com/"
    }
  ],
  "tags": [
    {
      "name": "Purchase Orders"
    }
  ]
}
```