POST
/
v1
/
warranties
/
:id
/
reject
curl --location --request PUT 'https://api.stateset.com/v1/warranty/:id/reject' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": "e0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
    "reason": "Warranty period expired"
}'
{
  "id": "e0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
  "object": "warranty",
  "rejected": true,
  "reason": "Warranty period expired"
}

Body

warranty_id
string
The ID provided in the data tab may be used to identify the warranty
reason
string
The reason for rejecting the warranty claim

Response

id
string
The ID provided in the data tab may be used to identify the warranty
object
string
The object type
success
number
Indicates whether the call was successful. true if successful, false if not.
curl --location --request PUT 'https://api.stateset.com/v1/warranty/:id/reject' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": "e0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
    "reason": "Warranty period expired"
}'
{
  "id": "e0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
  "object": "warranty",
  "rejected": true,
  "reason": "Warranty period expired"
}