Update Product
You can update your product information using this service.
curl --location --request PUT '<BASE_URL>/merchant-products/{merchantProductId}'
--header 'Content-Type: application/json'
--header 'Authorization: <jwtToken>'
--data '{
"name": "<string>",
"warrantyYear": "<integer>",
"model": "<string>",
"description": "<string>"
}'
Path Variables
Parameter | Type | Required | Description |
---|---|---|---|
merchantProductId | Integer | Yes | Id value of the product to be updated |
Request Body
Parameter | Type | Required | Description |
---|---|---|---|
name | String | Yes | The product name can be a maximum of 256 characters. |
warrantyYear | Integer | Yes | The product warranty period can be between 2 and 10. |
model | String | No | The product model can be a maximum of 256 characters. |
description | String | Yes | The product description can be a maximum of 1000 characters. |