Xentral Purchase Order API

Purchase Orders made at a supplier.

GitHub OpenAPI
Business capability
Purchase Order Management BC-500.30

Operations 25

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/purchaseOrders List purchase orders · List purchase orders #
Ask an LLM
“Which purchase orders have I created?”
“Can I filter purchase orders by project or date?”
Tell an agent
List all my purchase orders.
Show purchase orders matching {filter}.
POST /api/v1/purchaseOrders Create a purchase order · Create purchase order #
Ask an LLM
“How do I create a purchase order for a supplier?”
“Can a new purchase order reference a request for quotation?”
Tell an agent
Create a purchase order for supplier {supplier} on {date} for project {project}.
Create purchase order {supplier} on {date} with positions {positions}.
GET /api/v1/purchaseOrders/{id} View a purchase order · View purchase order #
Ask an LLM
“What are the details of one purchase order?”
“Can I see the positions on a purchase order?”
Tell an agent
Show purchase order {id}.
Get the positions and totals of purchase order {id}.
PATCH /api/v1/purchaseOrders/{id} Update a purchase order · Update purchase order #
Ask an LLM
“Can I change the delivery date on a purchase order?”
“Is it possible to edit a purchase order after it is confirmed?”
Tell an agent
Change the delivery date of purchase order {id} to {delivery}.
Update purchase order {id} with positions {positions}.
PATCH /api/v1/purchaseOrders/{id}/actions/cancel Cancel a purchase order · Cancel purchase order #
Ask an LLM
“How do I cancel a purchase order?”
“Can a completed purchase order be cancelled?”
Tell an agent destructive · confirm first
Cancel purchase order {id}.
Cancel purchase order {id} so it can no longer be released.
PATCH /api/v1/purchaseOrders/{id}/actions/release Release a purchase order (legacy) · Release purchase order #
Ask an LLM
“How do I release a purchase order using the legacy endpoint?”
“Can I set the release date when releasing a purchase order?”
Tell an agent
Release purchase order {id} via the legacy endpoint.
Using the legacy release call, release purchase order {id}.
GET /api/v3/purchaseOrders List purchase orders (v3) · List purchase orders V3 #
Ask an LLM
“Can I search purchase orders by text?”
“Which purchase order v3 endpoint returns a PDF?”
Tell an agent
List purchase orders using the v3 endpoint.
Search v3 purchase orders for {search}.
POST /api/v3/purchaseOrders Create a purchase order (v3) · 🔒 Create purchase order V3 #
Ask an LLM
“How do I create a purchase order with line items in v3?”
“Can I set a confirmed delivery date on a v3 purchase order?”
Tell an agent
Create a v3 purchase order for {address} on {date} with line items {lineItems}.
Create v3 purchase order {address} with confirmed delivery date {confirmedDeliveryDate}.
GET /api/v3/purchaseOrders/{id} View a purchase order (v3) · View purchase order V3 #
Ask an LLM
“How do I view a purchase order in the v3 API?”
“Can I get a purchase order including its items with the v3 endpoint?”
Tell an agent
Get purchase order {id} using the v3 API.
Fetch purchase order {id} with include {include} via v3.
DELETE /api/v3/purchaseOrders/{id} Delete a purchase order (v3) · Delete purchase order V3 #
Ask an LLM
“Can I delete a purchase order that is still in draft?”
“What status must a purchase order be in to delete it?”
Tell an agent destructive · confirm first
Delete v3 purchase order {id}.
Remove purchase order {id} from the draft status.
PATCH /api/v3/purchaseOrders/{id} Update a purchase order (v3) · 🔒 Update purchase order V3 #
Ask an LLM
“Can I change the language or cost center of a purchase order?”
“How do I update a v3 purchase order's tags?”
Tell an agent
Change the language of v3 purchase order {id} to {language}.
Update v3 purchase order {id} with tags {tags}.
PATCH /api/v3/purchaseOrders/{id}/actions/cancel Cancel a purchase order (v3) · Cancel purchase order V3 #
Ask an LLM
“Can I cancel a v3 purchase order that is already completed?”
“Which v3 purchase order status cannot be cancelled?”
Tell an agent destructive · confirm first
Cancel v3 purchase order {id}.
Use the v3 cancel action on purchase order {id}.
PATCH /api/v3/purchaseOrders/{id}/actions/complete Complete a purchase order (v3) · Complete purchase order V3 #
Ask an LLM
“How do I mark a purchase order as complete with the v3 API?”
“Which purchase order status can't be completed through the v3 endpoint?”
Tell an agent
Complete purchase order {id} via the v3 API.
Use the v3 complete action on purchase order {id}.
PATCH /api/v3/purchaseOrders/{id}/actions/logActivity Log an activity on a purchase order (v3) · Log custom purchase order activity V3 #
Ask an LLM
“Can I record a custom note on a purchase order?”
“How do I log an activity on a v3 purchase order?”
Tell an agent
Log activity {message} on v3 purchase order {id}.
Record a note on purchase order {id} saying {message}.
PATCH /api/v3/purchaseOrders/{id}/actions/release Release a purchase order (v3) · Release purchase order V3 #
Ask an LLM
“How can I release a purchase order so its items are processed?”
“Can I set the document date when releasing a purchase order with v3?”
Tell an agent
Release purchase order {id} with document date {documentDate}.
Release purchase order {id} through the v3 API.
PATCH /api/v3/purchaseOrders/{id}/actions/removeWriteProtection Remove write protection from a purchase order (v3) · Remove purchase order write protection V3 #
Ask an LLM
“Can I remove write protection from a v3 purchase order?”
“What can I edit on a purchase order once write protection is removed?”
Tell an agent
Remove write protection from v3 purchase order {id}.
Unlock purchase order {id} so I can edit it.
PATCH /api/v3/purchaseOrders/{id}/actions/send Send a purchase order (v3) · Send purchase order V3 #
Ask an LLM
“How do I email a purchase order to a supplier?”
“Can a v3 purchase order be sent to a printer?”
Tell an agent
Send v3 purchase order {id} by email.
Send purchase order {id} to printer {printer}.
PATCH /api/v3/purchaseOrders/{id}/actions/setWriteProtection Set write protection on a purchase order (v3) · Set purchase order write protection V3 #
Ask an LLM
“Can I lock a v3 purchase order so nobody edits it?”
“Which v3 purchase order status can have write protection set?”
Tell an agent
Set write protection on v3 purchase order {id}.
Lock purchase order {id} so it cannot be edited.
POST /api/v3/purchaseOrders/{id}/files Attach a file to a purchase order (v3) · Attach file to purchase order V3 #
Ask an LLM
“How do I attach a supplier's invoice to a purchase order?”
“Can I add a file to a v3 purchase order?”
Tell an agent
Attach {fileName} to v3 purchase order {id} as {keyword}.
Add file {fileName} with keyword {keyword} to purchase order {id}.
DELETE /api/v3/purchaseOrders/{id}/files/{fileId} Delete a file from a purchase order (v3) · Delete file from purchase order V3 #
Ask an LLM
“Can I remove an attachment from a v3 purchase order?”
“How do I delete a file attached to a purchase order?”
Tell an agent destructive · confirm first
Delete file {fileId} from v3 purchase order {id}.
Remove attachment {fileId} on purchase order {id}.
PATCH /api/v3/purchaseOrders/{id}/files/{fileId} Rename or retag a file on a purchase order · Update file on purchase order V3 #
Ask an LLM
“Can I change the title or keyword of a file attached to a purchase order?”
“How do I re-sort a file on a purchase order?”
Tell an agent
Rename file {fileId} on purchase order {id} to {title}.
Set the keyword of file {fileId} on purchase order {id} to {keyword}.
POST /api/v3/purchaseOrders/{id}/lineItems Add a product line to a purchase order · 🔒 Create purchase order line item V3 #
Ask an LLM
“How do I add a product to a purchase order?”
“Can I set the delivery date and country of origin when adding a line item?”
Tell an agent
Add {quantity} of product {product} to purchase order {id}.
Add {quantity} of {product} to purchase order {id} with delivery date {deliveryDate}.
GET /api/v3/purchaseOrders/{id}/lineItems/{lineItemId} View a purchase order line item · View purchase order line item V3 #
Ask an LLM
“What quantity and price are on a specific line item of a purchase order?”
“Can I include related data when fetching one purchase order line item?”
Tell an agent
Show line item {lineItemId} on purchase order {id}.
Fetch purchase order line item {lineItemId} of {id} including {include}.
DELETE /api/v3/purchaseOrders/{id}/lineItems/{lineItemId} Remove a line from a purchase order · Delete purchase order line item V3 #
Ask an LLM
“How do I delete a line item from a purchase order?”
“Can I take a product line off a purchase order?”
Tell an agent destructive · confirm first
Delete line item {lineItemId} from purchase order {id}.
Remove the {lineItemId} line from purchase order {id}.
PATCH /api/v3/purchaseOrders/{id}/lineItems/{lineItemId} Edit a purchase order line item · 🔒 Update purchase order line item V3 #
Ask an LLM
“Can I change the quantity or price on a purchase order line?”
“How do I update the supplier product number on a line item?”
Tell an agent
Change the quantity of line item {lineItemId} on purchase order {id} to {quantity}.
Update line item {lineItemId} on purchase order {id} to price {price}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/xentral:xentral-purchase-order-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

xentral-purchase-order-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Xentral Purchase Order API
  version: v0.1
  description: Xentral is an ERP platform.
  contact:
    name: Xentral
    url: https://xentral.com
    email: api@xentral.com
servers:
- url: https://{xentralId}.xentral.biz
  description: Your Xentral Instance
  variables:
    xentralId:
      default: xentral
- url: https://{domain}
  description: Xentral at a custom domain
  variables:
    domain:
      default: xentral.com
security:
- BearerAuth: []
tags:


# --- truncated at 32 KB (626 KB total) ---
# Full source: https://artifacts.apis.io/xentral/openapi/xentral-purchase-order-api-openapi.yml