Unresolve Repair Line
POST/api/repairs/:repair/lines/:line/unresolve
Undoes a unit's resolution while nothing has left the building: reverses any stock capitalization or scrap adjustment, withdraws the refund, store credit or discount code, cancels replacement and parts orders, reverses an ownership transfer and voids a draft return shipment. The unit goes back to quality_check and the previous resolution is kept under previous.
repairs:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Refused when the unit is not resolved, the repair is closed, the return shipment is already in transit or delivered, a return label was bought (void it first), or the refund or store credit was already used.
No request body.
Authentication: Bearer token with the repairs:write scope.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 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 — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Entity
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.