Skip to main content

Delete Warranty

You can delete warranty by individualCustomerProductId using this service.

Request

curl --location --request POST '<BASE_URL>/individual-customer-products/{individualCustomerProductId}/delete'
--header 'Content-Type: application/json'
--header 'Authorization: <jwtToken>'
--data '{
"deletedReason": "Customer requested cancellation"
}'

Path Variables

ParameterTypeRequired
Description
individualCustomerProductIdIntegerYesWarranty Id

Request Body (Optional)

ParameterTypeRequired
Description
deletedReasonStringNoReason for deleting the warranty (max 1000 chars)

Response

{
"deletedDate": "15-01-2026",
"deleted": true,
"deletedId": 12345,
"individualCustomerProductId": 67890
}

Response Fields

FieldType
Description
deletedDateStringDate when the warranty was deleted (dd-MM-yyyy)
deletedBooleanIndicates if the deletion was successful
deletedIdIntegerID of the deleted record
individualCustomerProductIdIntegerID of the individual customer product