Repairs
List Repair Requests
List the active Location's repair requests, newest first. Drafts the merchant has not yet shared are never shown.
Create Repair Request
Send a repair claim for the active Location, created in the `requested` status for the merchant to review. A claim holds up to 100 items; each one is an item of one of the Location's orders (`sales_order_id` + `lines.*.sales_order_line_id`), a product by id (`lines.*.product_id`), a product by SKU or barcode (`lines.*.sku`), or a free-text description (`lines.*.product_text`) the merchant matches to a product later. Repair claims are not limited by the return window.
Get Repair Request
Return one repair request of the active Location with its units, each unit's stage and outcome, and its shipments with carrier tracking.
List Repair Issue Types
List the issue types a buyer can pick when describing what is wrong with an item (`lines.*.issue_type_ids` on Create Repair Request). Only the issue types the merchant has chosen to show on the portal are listed, in the merchant's order, and archived ones are left out.
Get Returnable Lines
For a delivered order, list which lines can still be returned and the maximum returnable quantity for each (ordered/fulfilled minus already-returned), plus ineligible lines with a reason (`not_delivered`, `window_expired`, `already_returned`). `delivered_at` is an ISO 8601 timestamp. Returns 404 if the order is not on the active account.
Get Returnable Lines by Order Number
Finds an order on the active account by the buyer's own order number — the retailer order number of a dropship order, or else the customer PO number — and returns its returnable lines, exactly like Get Returnable Lines. Use it to start a return when the buyer knows their own order number rather than the merchant's. When several orders match, the most recent one that is not cancelled is used.