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: Basic ZGVtbzpwQDU1dzByZA=='
info
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. |
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. |
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": {
"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": {
"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
}