Skip to main content

List Repair Parts Demand

GET 

/api/repairs/parts-demand

Lists planned (not yet consumed) parts on open repairs, per part and warehouse, against stock and inbound purchase orders, with the shortfall to order. Repairs that are closed, rejected or canceled are left out.

Required scope: repairs:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Query parameters (all optional):

  • warehouse_id (integer) — one warehouse.
  • product_id (integer) — one part.

Each item: product_id, sku, name, warehouse_id, warehouse_name, planned_quantity, repair_lines (units planning the part), on_hand, available, inbound, shortfall (planned − available − inbound, never below 0).

Authentication: Bearer token with the repairs:read scope.

Request​

Responses​

OK

Response Headers
    Content-Type