Turfpal icon

Turfpal

Manage tasks, equipment, members, sites, observations, inventory, and more in Turfpal

Stock → Adjust

AI-generated

Summary

Adjusts stock for a selected product in a selected warehouse by posting the quantity change and reason to Turfpal. Use a positive quantity to add stock or a negative quantity to remove it.

Inputs

  • warehouseId (required) — Warehouse to adjust, chosen from the searchable list or provided by ID or URL.
  • productId (required) — Product to adjust, chosen from the searchable list or provided by ID or URL.
  • quantity (required) — Amount of stock to change; positive adds stock and negative removes stock.
  • reason (required) — Reason for the stock adjustment.

Output shape

A single record containing the API response data for the stock adjustment.

The node sends a POST request to the selected warehouse’s stock adjustment endpoint. Turfpal’s response envelope is unwrapped before the data is returned.

Links

Discussion