Endpoint
Authentication
This endpoint requires a valid JWT Bearer token with ADMIN role.Path Parameters
The unique receipt number of the repair request to update (e.g., RR-20260308143025123456789)
Request Body
Partial updates supported — Only the fields you want to update need to be included. The
repair_status field is required.Serial number of the article (optional, minimum 6 characters if provided)
Accessories included with the article (optional, minimum 3 characters if provided)
Current status of the repair. Must be one of:
pending- Pending reviewin_progress- Under repairwaiting_parts- Waiting for partscompleted- Repaireddelivered- Delivered to the clientcanceled- Canceled
Details about the repair work (optional, minimum 3 characters if provided)
Price of the repair (optional, must be numeric)
Date when the repair was completed (optional, date format: YYYY-MM-DD)
Response
Returns the updated repair request with associated images.Response Fields
Indicates if the request was successful
Success message
Examples
Response Example
Error Responses
401 Unauthorized
403 Forbidden
Returned when the authenticated user does not have ADMIN role.404 Not Found
Returned when the repair request with the specified receipt number does not exist.422 Validation Error
Returned when the request data fails validation.Notes
- Customer information (name, phone, email) and article details (name, type, brand, model, problem) cannot be updated through this endpoint
- Only the following fields can be updated:
article_serialnumberarticle_accesoriesrepair_status(required)repair_detailsrepair_pricerepaired_at
- The
receipt_numberin the URL is used to identify the repair request, not the databaseid - The
updated_attimestamp is automatically updated - Images associated with the repair request are loaded but cannot be modified through this endpoint