curl --location --request DELETE 'https://api.stateset.com/v1/warranty_line_item' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30"
}'
{
"id": "wli_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "warranty_line_item",
"deleted": true
}
This endpoint deletes an existing warranty line item.
curl --location --request DELETE 'https://api.stateset.com/v1/warranty_line_item' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30"
}'
{
"id": "wli_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "warranty_line_item",
"deleted": true
}
curl --location --request DELETE 'https://api.stateset.com/v1/warranty_line_item' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30"
}'
{
"id": "wli_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "warranty_line_item",
"deleted": true
}