Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Inventory Storage Relation Api → Post Api Assets Inventory Inventory Storages

AI-generated

Summary

Create a new inventory storage relation by posting data to the Contractors.es Inventory Storage Relation API, linking inventory items to storage locations such as projects or warehouses.

Inputs

  • Inventory (required) — Numeric identifier for the inventory item to link.
  • Inventory Id — String identifier for the inventory item; optional and only sent if not set to DO_NOT_SET.
  • Type — Type of storage relation, either 'project' or 'warehouse'; omitted if set to DO_NOT_SET.
  • Warehouse Id — String identifier for the warehouse storage location; sent only if value differs from DO_NOT_SET.
  • Project Id — String identifier for the project storage location; sent only if value differs from DO_NOT_SET.
  • Quantity — Quantity for the inventory in storage; sent only if value differs from DO_NOT_SET.
  • External Id — External identifier related to the inventory storage; sent only if value differs from DO_NOT_SET.

Output shape

a single record representing the created inventory storage relation as returned by the API

The operation sends a POST request body constructed from provided input fields, ignoring fields set to sentinel values (DO_NOT_SET). The response content shape depends on the API's creation endpoint response; the node outputs this response directly.

Links

Discussion