Get Repair Cost
GET/api/repairs/:repair/costs/:cost
Gets one cost line on a repair.
repairs:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Each cost line returns: id, repair_order_id, repair_order_line_id, line_number, type / type_label, description, product_id + product {id, sku, name}, warehouse_id + warehouse {id, name}, quantity (in the part's stock unit), entered_quantity + entered_uom_id + entered_uom {id, code, name} (what was typed when another unit was used), operation / operation_label (add, remove, recycle; parts only), state / state_label (planned, consumed), is_posted (true for consumed lines, which carry a journal), unit_cost, total_cost, bill_price, bill_total (bill_price × quantity), bill_to / bill_to_label, inventory_movement_id, ledger_journal_entry_id, journal_entry {id, reference, document_number, status, effective_at, total, display_status {key, label, color}, route}, repair_shipment_id, purchase_order_id, recovery_claim_id, created_by, created_at, updated_at.
Authentication: Bearer token with the repairs:read scope.
Request
Responses
- 200
- 401
- 403
- 404
- 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.
Not Found
Response Headers
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.