Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Warehouse Api → Post Api Assets Warehouses Batch Restore

AI-generated

Summary

Send a batch request to restore multiple warehouses by providing their details as JSON in the request body.

Inputs

  • Resources (required) — A JSON array representing the warehouses to restore in batch. If the input contains the sentinel values 'DO_NOT_SET' or 'DO_NOT_UPDATE', the request is not sent.

Output shape

a single JSON response from the API indicating the result of the batch restore operation

Input JSON should be an array of warehouse objects. Batch request handling like throttling by batch size or interval can be controlled via the Request Options settings. Errors or partial failures depend on the API's batch handling behavior.

Examples

Example 1: Restore multiple warehouses deleted or trashed

Set Resources to a JSON array of warehouse objects with their IDs to restore, configure optional batching parameters if needed.

Links

Discussion