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
Parameter | Type | Required | Description |
---|---|---|---|
name | String | No | The name of the 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 |
---|---|---|---|
productCode | String | Yes | Product Code |
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
merchantCode | String | Yes | The merchant code to which the product belongs. |