Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Inventory Purchase Row Relation Api → Patch Api Assets Inventory Purchases Inventory Purchase Rows Batch

AI-generated

Summary

Update multiple Inventory Purchase Rows related to a specific Inventory Purchase by sending a batch PATCH request with their partial updates.

Inputs

  • Inventory Purchase (required) — Numeric identifier of the Inventory Purchase to which the rows belong.
  • Resources — JSON object representing partial updates for the Inventory Purchase Rows batch; fields set to sentinel values ('DO_NOT_UPDATE') will not be updated.
  • Request Options — Advanced settings like batching (items per batch and interval between batches), proxy configuration, timeout, and SSL certificate handling.

Output shape

The operation returns the API response for the batch PATCH request; generally, this is a JSON object confirming the updated Inventory Purchase Rows or relevant status information.

When providing 'Resources' JSON, any fields containing the sentinel values 'DO_NOT_UPDATE' or 'DO_NOT_SET' are excluded from the update payload. Batching options allow controlling the request flow if the update affects many rows, splitting them into batches with configurable size and delay. Errors and API responses follow the Contractors.es API conventions returned in the node's main output.

Examples

Example 1: Update a batch of Inventory Purchase Rows

Set 'Inventory Purchase' to the target ID, provide a JSON array in 'Resources' with partial update objects for each row, and configure batching if needed to avoid overloading the API.

Links

Discussion