Skip to main content

Get Repair Request

GET 

/api/portal/repairs/:repair

Return one repair request of the active Location with its units, each unit's stage and outcome, and its shipments with carrier tracking.

Buyer portal token

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.

shipments lists each leg: direction (customer_to_brand — the buyer sending items in; brand_to_customer — the merchant sending them back), status (draft, label_created, in_transit, delivered, exception, void), carrier, tracking_number, shipped_at, delivered_at.

Returns 404 if the repair is not on the active Location.

Authentication: portal Bearer token.

Request​

Responses​

OK

Response Headers
    Content-Type