Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Inventory Api → Post Api Assets Inventory

AI-generated

Summary

Create a new inventory asset by sending specified details to the Contractors.es Inventory API.

Inputs

  • Name — The name of the asset to create. Optional; omit or leave as 'DO_NOT_SET' to exclude.
  • Barcode — The barcode identifier for the asset. Optional; omit or leave as 'DO_NOT_SET' to exclude.
  • Minimum Threshold — Minimum stock threshold for the asset. Optional; omit or leave as 'DO_NOT_SET' to exclude.
  • Requested Quantity — Quantity of the asset requested. Optional; omit or leave as 'DO_NOT_SET' to exclude.
  • Quantity — Total quantity of the asset. Optional; omit or leave as 'DO_NOT_SET' to exclude.
  • Available Quantity — Quantity available for use. Optional; omit or leave as 'DO_NOT_SET' to exclude.
  • Quantity Unit — Unit measurement for the quantity. Optional; omit or leave as 'DO_NOT_SET' to exclude.
  • Last Purchase Id — Identifier for the last purchase transaction. Optional; omit or leave as 'DO_NOT_SET' to exclude.
  • Category Id — Identifier for the asset category. Optional; omit or leave as 'DO_NOT_SET' to exclude.
  • Suggested Sell Price — Suggested selling price for the asset. Optional; omit or leave as 'DO_NOT_SET' to exclude.
  • Suggested Sell Price Currency — Currency code for the suggested sell price. Optional; omit or leave as 'DO_NOT_SET' to exclude.
  • Bom Enabled — Whether BOM (Bill of Materials) is enabled for this asset. Optional; omit or leave as 'DO_NOT_SET' to exclude.
  • Bom Labor Hours Per Unit — Labor hours per unit in the BOM. Optional; omit or leave as 'DO_NOT_SET' to exclude.
  • Memo — Additional notes or memo related to the asset. Optional; omit or leave as 'DO_NOT_SET' to exclude.
  • External Id — External identifier reference for the asset. Optional; omit or leave as 'DO_NOT_SET' to exclude.
  • Warehouse Quantity — Quantity of the asset in the warehouse. Optional; omit or leave as 'DO_NOT_SET' to exclude.

Output shape

a single JSON object representing the created inventory asset as returned by the Contractors.es API

Optional fields with default values of 'DO_NOT_SET' or 'DO_NOT_UPDATE' are omitted from the request body. The operation sends these parameters in the request body to the POST /api/assets/inventory endpoint. Response details depend on the Contractors.es API behavior.

Links

Discussion