Skip to main content

Update Product By Product Code

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

Request

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

Request Body

ParameterTypeRequired
Description
nameStringNoThe name of the 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
productCodeStringYesProduct Code

Request Parameters

ParameterTypeRequired
Description
merchantCodeStringYesThe merchant code to which the product belongs.