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
Parameter | Type | Required | Description |
---|---|---|---|
name | String | No | The name of the product. |
productCode | String | No | The product code of product |
model | String | No | The model of the product. |
brand | String | No | The brand of the product. |
warrantyYear | String | No | The warranty year of the product. |
description | String | No | The description of the product. |
setupRequired | Boolean | No | Indicates whether the product requires setup. |
Path Variables
Parameter | Type | Required | Description |
---|---|---|---|
merchantProductId | Integer | Yes | Product Id |
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
merchantCode | String | Yes | The merchant code to which the product belongs. |