Skip to main content

Get Warranties

With this service, you can filter warranty data. The parameters you enter will be used to search the database with the 'like' operator. All matching records will be returned, and the search is case-insensitive.
If multiple parameters are provided, the search will be conducted using the 'and' operator.

Request

curl --location --request GET '<BASE_URL>/individual-customers/warranty'
--header 'Content-Type: application/json'
--header 'Authorization: <jwtToken>'
Info

Here are examples of acceptable phone number formats:

  • 544 333 22 11
  • 5443332211
  • +905443332211
  • 905443332211
  • 05443332211

Request Parameters

ParameterTypeRequired
Description
pageIntegerNoUsed for pagination. The default value and minimum value is 1.
sizeIntegerNoUsed for pagination. The default value is 10. Min 1 - Max 200
firstNameStringNoThe customer's first name.
lastNameStringNoThe customer's last name.
emailStringNoThe customer's email address.
phoneStringNoThe customer's phone number.

Response

{
"content": [
{
"customer": {
"firstName": "Ahmet",
"lastName": "Arslan",
"email": "example@egaranti.com",
"emailVerified": false,
"phoneVerified": true,
"phone": "+905443332211"
},
"product": {
"name": "Erica El Mikseri Kırmızı",
"category": "Entegrasyon",
"brand": "Fakir",
"model": "",
"warrantyExpireDate": "2025-08-15",
"externalOrderId": "123"
}
},
{
"customer": {
"firstName": "Ahmet",
"lastName": "Arslan",
"email": "example@egaranti.com",
"emailVerified": false,
"phoneVerified": true,
"phone": "+905443332211"
},
"product": {
"name": "Erica El Mikseri Kırmızı",
"category": "Entegrasyon",
"brand": "Fakir",
"model": "",
"warrantyExpireDate": "2025-08-15",
"externalOrderId": "1231"
}
}
],
"totalPages": 1,
"totalElements": 2,
"size": 10,
"page": 1,
"empty": false
}