Skip to main content

Issue Repair Loaner

POST 

/api/repairs/:repair/loaners

Lends a loaner to the customer: creates a zero-value sales order to ship it and an RMA expecting it back. The due date is the repair's completion (or SLA due date) plus the given days.

Required scope: repairs:write

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

Fields:

  • product_id (integer, required) — a product flagged as loaner-eligible.
  • serial_number_id (integer, optional) — a serial number of that product.
  • due_days_after_completion (integer, optional, 0–365) — defaults to the tenant's loaner due-days setting.
  • warehouse_id (integer, optional) — ships from and returns to this warehouse; defaults to the repair's warehouse.

Refused when the repair is closed or rejected.

Authentication: Bearer token with the repairs:write scope.

Request​

Responses​

OK

Response Headers
    Content-Type