Skip to main content

Purchase Order Deleted

Event Type​

purchase_order_deleted

Summary​

Sent when a purchase order is deleted. Company-only. These events are not available for agency webhooks; purchase order Open API endpoints reject agency-scoped keys. The payload retains the deleted object ID; the deleted record can no longer be fetched.

Access​

Company webhooks only. Agency webhooks cannot subscribe to this event.

Delivery​

Requidex sends a signed POST request with Content-Type: application/json to the configured webhook URL. Return a 2xx response after accepting the event for processing. Duplicate or out-of-order deliveries are possible; deduplicate by event ID.

See delivery headers, signature verification and retry handling for the shared contract. The webhook signing secret is separate from an API key used to fetch the record.

Payload Fields​

FieldTypeRequiredDescription
idstringYesStable event identifier, reused for delivery retries
typestringYespurchase_order_deleted
createdAtstringYesEvent creation time in ISO 8601 UTC format
dataobjectYesAffected resource reference; not a snapshot of the changed record
Show child attributes
  • purchaseOrder object — Affected purchase-order reference
    Show child attributes
    • id string — Identifier used by the corresponding detail endpoint
testbooleanNoPresent and true for test deliveries; the resource ID is test

Payload Example​

{
"id": "evt_01K1WEBHOOKEXAMPLE",
"type": "purchase_order_deleted",
"createdAt": "2026-09-10T12:00:00.000Z",
"data": {
"purchaseOrder": {
"id": "507f1f77bcf86cd799439013"
}
}
}

Deleted Record​

The payload retains the deleted object's full ID in data.purchaseOrder.id. The deleted record can no longer be fetched; use the ID to remove or mark it as deleted in your system.

The follow-up API request uses your API key and the endpoint’s scope and access rules. A webhook subscription does not grant additional API access. Test deliveries include test: true and use the resource ID test; do not fetch a business record for those deliveries.