List Repair Requests
GET/api/portal/repairs
List the active Location's repair requests, newest first. Drafts the merchant has not yet shared are never shown.
Called by a B2B portal buyer with the bearer token POST /api/portal/auth/login returns (or the buyer's feed key) — not with a staff Personal Access Token.
Each repair carries: id, repair_number, status_url (the public page where the end customer can follow the repair, or null), status and status_label, sales_order_id / sales_order_number (null when the claim was not raised against an order), requested_at, received_at (when the merchant received the items), returned_at, sla_due_at (the date the merchant aims to finish by, or null), line_count, and lines — one per unit with id, line_number, sku (null for a free-text item), name, quantity, stage / stage_label (pending_receipt, triage, diagnosing, awaiting_approval, awaiting_parts, in_repair, at_vendor, quality_check, resolved) and outcome / outcome_label (null until resolved; repaired, parts_sent, replaced, refurbished_to_stock, unrepairable_credited, unrepairable_returned, no_fault_found, declined_by_customer, not_covered_returned, scrapped). Costs and the merchant's internal notes are never included.
Filtering: filter[status] (exact), filter[repair_number] (partial), filter[sales_order_id] (exact).
Sorting: sort=<field>, prefix - for descending. Allowed: id, repair_number, status, created_at.
Pagination: page (default 1), per_page (default 10, max 100).
Authentication: portal Bearer token.
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.