List purchase orders

List purchase orders, for one task or for all.

GET https://cotlet.dev/api/v1/aroflo/purchase-orders

read

Returns purchase orders with purchase_order_id, supplier, the date and time it must be delivered by and the task it belongs to. Purchase orders are read only here. Follow next_cursor until it is null.

Parameters

Parameters: list_purchase_orders
NameTypeDescription
task_id string string Only the purchase orders of this task.
supplier string string Supplier name to filter by.
cursor string string Next page cursor from the previous call.

Request

cURL
curl https://cotlet.dev/api/v1/aroflo/purchase-orders \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("aroflo", "list_purchase_orders")
Node.js
const result = await cotlet.call('aroflo', 'list_purchase_orders');
CLI
cotlet call aroflo list_purchase_orders

Example response

JSON

{
  "purchase_orders": [
    {
      "purchase_order_id": "po_1530",
      "supplier": "Coastline Refrigeration Supplies",
      "delivery_by": "2026-10-28T10:00",
      "task_id": "task_8814"
    }
  ],
  "next_cursor": null
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.