Bulk Warranty Send
With this service, you can perform bulk warranty sends. Please note that this service operates asynchronously, so warranty IDs will not be returned.
Request
curl --location --request POST '<BASE_URL>/individual-customer-products/warranty/bulk'
--header 'Content-Type: application/json'
--header 'Authorization: Basic ZGVtbzpwQDU1dzByZA=='
--data '{
"warranties": [
{
"sellerCode": "string",
"externalOrderId": "string",
"customer": {
"firstName": "string",
"lastName": "string",
"email": "string",
"phone": "string",
"countryCode": "TR"
},
"merchantProductId": 0,
"product": {
"name": "string",
"brand": "string",
"externalLineId": "string",
"purchaseDate": "string",
"warrantyExpireDate": "string"
}
}]
}'
info
Here are examples of acceptable phone number formats:
- 544 333 22 11
- 5443332211
- +905443332211
- 905443332211
- 05443332211
Info
The formats for the purchaseDate and warrantyExpireDate parameters must be in the following format: DD-MM-YYYY HH:MM (e.g., 01-01-2023 00:00).
- If the purchaseDate parameter is not provided, today's date will be used as the purchase date.
- If the warrantyExpireDate parameter is not provided, the warranty expiration date will be set based on the warranty period specified in the product information.
Request Body
Parameter | Type | Required | Description |
---|---|---|---|
merchantProductId | Integer | Yes | The Id of the product for which the warranty will be sent. |
sellerCode | String | Yes | Seller Code |
firstName | String | Yes | The first name of the customer. |
lastName | String | Yes | The last name of the customer. |
String | Yes | The email address of the customer. | |
phone | String | Yes | The phone number of the customer. |
countryCode | Enum | Yes | The country code for the phone number. |
externalOrderId | String | Yes | The invoice code of the product being warranted. |
externalLineId | String | No | Line Id |
purchaseDate | String | No | The date of purchase of the product. |
warrantyExpireDate | String | No | The warranty expiration date of the product. |
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
merchantCode | String | Yes | The merchant code to which the product belongs. |
Country Code Enum
TR
US
DE
GB
AE
NL
FR