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.

{/ DEV NOTE (not rendered): partner-gateway's IndividualCustomerWarrantyFilterRequest nests firstName/lastName/email/phone under a customer object, and CustomerApiService.java:27-38 dereferences request.getCustomer() unconditionally. Flat query params (as shown below) may not bind to that nested object under Spring's default binder, which could NPE. Verify against a live call before treating this page as confirmed-working; see egaranti.dev docs audit for details. /}

Request

curl --location --request GET '<BASE_URL>/individual-customer-products'
--header 'Content-Type: application/json'
--header 'Authorization: Basic ZGVtbzpwQDU1dzByZA=='
info

Here are examples of acceptable phone number formats:

  • 544 444 44 44
  • 5444444444
  • +905444444444
  • 905444444444
  • 05444444444

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.
brandStringNoThe product's brand.
sellerCodeStringYesSeller code
merchantCodeStringYesThe merchant code to which the product belongs.

Response

{
"content": [
{
"customer": {
"firstName": "Ahmet",
"lastName": "Arslan",
"email": "example@egaranti.com",
"emailVerified": false,
"phoneVerified": true,
"phone": "+905443332211"
},
"product": {
"id": 456,
"name": "Erica El Mikseri Kırmızı",
"category": "Entegrasyon",
"brand": "Fakir",
"model": "",
"warrantyStartDate": "09-05-2024",
"warrantyExpireDate": "09-05-2026",
"externalOrderId": "0f7b0e0e-2ead-4ba8-b7b2-4defcac117ca",
"externalLineId": "1231"
}
},
{
"customer": {
"firstName": "Ahmet",
"lastName": "Arslan",
"email": "example@egaranti.com",
"emailVerified": false,
"phoneVerified": true,
"phone": "+905443332211"
},
"product": {
"id": 457,
"name": "Erica El Mikseri Kırmızı",
"category": "Entegrasyon",
"brand": "Fakir",
"model": "",
"warrantyStartDate": "09-05-2024",
"warrantyExpireDate": "09-05-2026",
"externalOrderId": "260e38d7-a0ff-4bb0-b600-a73c64338df0",
"externalLineId": "1232"
}
}
],
"totalPages": 1,
"totalElements": 2,
"size": 10,
"page": 1,
"empty": false
}