stockLocationId=42), always scoped to your company.
Catalog
Stock locations and inventory
Stock locations are the warehouses, trucks, and storerooms that hold inventory:GET /v1/partners/inventory/parts_per_stock_locations, +/{id}) is one record per part per location: on-hand, reserved, and available quantities, bin location, and costs.
GET /v1/partners/inventory/equipment_per_stock_locations, +/{id}) is one record per physical serialized unit: serial number, condition, and provenance. These are the units that receipts with serial numbers create.
Receipts are the write path into stock through this API; the read side here is how you reconcile OpenWrench stock against your ERP.
Parts and equipment used on work orders
GET /v1/partners/work_order/work_order_parts_equipments/{workOrderId} lists the part and equipment records consumed on a work order: the consumption side of the inventory ledger.
workOrder and location objects come back masked, with sensitive fields removed.
Reconciliation pattern
A nightly inventory reconciliation:- Pull
parts_per_stock_locationsper stock location and diff quantities against your ERP. - Explain the deltas: receipts recorded that day (purchasing inflow) minus
work_order_parts_equipmentsfor work orders completed that day (consumption outflow). - Investigate what remains: usually a missed receipt, an unrecorded return (negative receipt), or consumption logged against the wrong work order.