Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Inventory Purchase Notes Relation Api → Post Api Assets Inventory Purchases Inventory Purchase Notes Batch Restore

AI-generated

Summary

Restore multiple previously deleted inventory purchase notes for a specified inventory purchase in a batch process.

Inputs

  • Inventory Purchase (required) — The numeric ID of the inventory purchase for which to restore the notes.
  • Resources — A JSON array specifying the inventory purchase notes to be restored in batch; if set to the sentinel values 'DO_NOT_SET' or 'DO_NOT_UPDATE', the batch restore is skipped.

Output shape

no body 1 success/failure only

The operation sends a POST request to batch restore inventory purchase notes but does not specify a response body. It supports optional batching controls (batch size and interval) via 'Request Options' to manage throttling of requests.

Examples

Example 1: Restore a batch of deleted inventory purchase notes for inventory purchase ID 123.

Set 'Inventory Purchase' to 123, supply the 'Resources' JSON array listing note IDs to restore. Optionally configure batching in 'Request Options'.

Links

Discussion