Skip to main content

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

ParameterTypeRequired
Description
merchantProductIdIntegerYesId value of the product to be updated

Request Body

ParameterTypeRequired
Description
nameStringYesThe product name can be a maximum of 256 characters.
warrantyYearIntegerYesThe product warranty period can be between 2 and 10.
modelStringNoThe product model can be a maximum of 256 characters.
descriptionStringYesThe product description can be a maximum of 1000 characters.