Skip to main content
POST
/
purchase-orders
/
delete
Remove Purchase Orders
curl --request POST \
  --url https://api-v2.production.higg.org/pic-api/v1/purchase-orders/delete \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-developer-request-token: <api-key>' \
  --data '
{
  "ids": [
    "<string>"
  ]
}
'
{
  "successIds": [
    "<string>"
  ],
  "failureIds": [
    "<string>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developer.worldly.io/llms.txt

Use this file to discover all available pages before exploring further.

Use this endpoint to delete one or more purchase orders from your PIC inventory.
This action is destructive and cannot be undone.

Request body params

NameTypeDescription
idsArray<string>[REQUIRED] An array of purchase order IDs to delete.

Implementation Details

  • Bulk operation: You can delete multiple purchase orders in a single request.
  • Response format: Returns { successIds: string[], failureIds: string[] } indicating which deletions succeeded and which failed.

Authorizations

x-api-key
string
header
required
x-developer-request-token
string
header
required

Body

application/json

API id based requests (import/remove/sync)

ids
string[]
required

Response

200 - application/json

Ok

successIds
string[]
required
failureIds
string[]
required