Update Warranty Period
You can update the warranty periods by sellerCode and merchantCode using this service.
Request
curl --location --request PUT '<BASE_URL>/individual-customer-products/{individualCustomerProductId}/date'
--header 'Content-Type: application/json'
--header 'Authorization: Basic ZGVtbzpwQDU1dzByZA=='
--data '{
"warrantyStartDate": "<integer>",
"warrantyExpireDate": "<string>",
"sellerCode": "<string>"
}'
Info
The formats for the warrantyStartDate and warrantyExpireDate parameters must be in the following format: DD-MM-YYYY HH:MM (e.g., 01-01-2023 00:00). Only the provided dates will be updated.
Request Body
Parameter | Type | Required | Description |
---|---|---|---|
warrantyStartDate | Integer | No | The start date of the warranty. |
warrantyExpireDate | String | No | The expiration date of the warranty. |
sellerCode | String | Yes | Seller code |
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
merchantCode | String | Yes | The merchant code to which the product belongs. |