Skip to main content

Update Product By Product ID

You can update the product by merchantProductId using this service. Any parameters you send will be updated.

Request

curl --location --request PUT '<BASE_URL>/merchant-products/{merchantProductId}'
--header 'Content-Type: application/json'
--header 'Authorization: Basic ZGVtbzpwQDU1dzByZA=='
--data '{
"name": "<string>",
"productCode": "<string>",
"model": "<string>",
"brand": "<string>",
"warrantyYear": "<integer>",
"description": "<string>",
"setupRequired": "<boolean>"
}'

Request Body

ParameterTypeRequired
Description
nameStringNoThe name of the product.
productCodeStringNoThe product code of product
modelStringNoThe model of the product.
brandStringNoThe brand of the product.
warrantyYearStringNoThe warranty year of the product.
descriptionStringNoThe description of the product.
setupRequiredBooleanNoIndicates whether the product requires setup.

Path Variables

ParameterTypeRequired
Description
merchantProductIdIntegerYesProduct Id

Request Parameters

ParameterTypeRequired
Description
merchantCodeStringYesThe merchant code to which the product belongs.