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=='
Here are examples of acceptable phone number formats:
- 544 444 44 44
- 5444444444
- +905444444444
- 905444444444
- 05444444444
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| page | Integer | No | Used for pagination. The default value and minimum value is 1. |
| size | Integer | No | Used for pagination. The default value is 10. Min 1 - Max 200 |
| firstName | String | No | The customer's first name. |
| lastName | String | No | The customer's last name. |
| String | No | The customer's email address. | |
| phone | String | No | The customer's phone number. |
| brand | String | No | The product's brand. |
| sellerCode | String | Yes | Seller code |
| merchantCode | String | Yes | The 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
}