Documentation Index
Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
Use this file to discover all available pages before exploring further.
Body
The ID provided in the data tab may be used to identify the warranty
The type of repair needed (e.g., “hardware”, “software”, “cosmetic”)
Detailed description of the repair needed
Where the repair will be performed (e.g., “authorized_service_center”, “mail_in”, “on_site”)
Estimated cost of the repair (if applicable)
Whether pickup service is required for the item
Response
The ID provided in the data tab may be used to identify the warranty
The unique identifier for the repair ticket
The status of the repair (e.g., “scheduled”, “in_progress”, “completed”)
The location where the repair will be performed
The estimated completion date for the repair
URL to track the repair status
Indicates whether the call was successful. true if successful, false if not.
curl --location --request POST 'https://api.stateset.com/v1/warranties/:id/repair' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "e0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
"repair_type": "hardware",
"repair_description": "Screen replacement needed due to manufacturing defect",
"repair_location": "authorized_service_center",
"estimated_cost": 150.00,
"pickup_required": true
}'
{
"id": "e0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
"object": "warranty",
"repair_initiated": true,
"repair_ticket_id": "rpr_ticket_789xyz",
"repair_status": "scheduled",
"repair_type": "hardware",
"repair_location": "authorized_service_center",
"estimated_completion": "2024-01-25",
"repair_tracking_url": "https://repairs.stateset.com/track/rpr_ticket_789xyz",
"pickup_scheduled": "2024-01-16T14:00:00Z"
}