Batch Delete Procurement Items

Removes multiple items from a specific procurement order.

🔒

Requires write_inventory access scope. More access scope

The Batch Update Procurement Items API allows users to removes multiple items from a procurement order in a single operation.

This API is especially useful for:

  1. Cleaning up erroneous procurement entries in bulk
  2. Removing discontinued items from active procurements
  3. Synchronizing procurement records with inventory changes

Request Parameters

Public Request Parameters

📘

Path Parameters

ParameterTypeRequiredDescriptionExample
procurement_idstringYesUnique identifier of the procurement record"proc_123456789"

Body Parameters

ParameterTypeRequiredDescriptionExample
procurement_item_idsarray of stringsYesIDs of items to remove["item_987654", "item_555555"]

Response Explanation

Public Response Parameters

📘

Successful Response

ParameterTypeExampleDescription
codestring"200"HTTP status code
messagestring"Items deleted successfully"Operation result message
data.deleted_countint322Number of successfully removed items
data.failed_idsarray of strings["item_111111"]IDs that couldn't be deleted

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!