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.
repairs:readGrant 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
- 200
- 401
- 403
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.