Skip to main content

Create Product

You can create a product using this service. To do so, you'll first need to obtain the subCategoryBrandId, which you can find on the Brands page.

Request

curl --location --request POST '<BASE_URL>/merchant-products'
--header 'Content-Type: application/json'
--header 'Authorization: <jwtToken>'
--data '{
"subCategoryBrandId": "<integer>",
"name": "<string>",
"warrantyYear": "<integer>",
"model": "<string>",
"description": "<string>",
"setupRequired": "<boolean>",
"productCode": "<string>"
}'

Request Body

ParameterTypeRequired
Description
subCategoryBrandIdIntegerYesThe Id value of the product's brand.
nameStringYesThe name of the product.
warrantyYearIntegerYesCan take values between 2 and 10.
modelStringNoMaximum length can be 256 characters.
descriptionStringNoMaximum length can be 1000 characters.
setupRequiredBooleanYesIndicates whether the product requires setup.
productCodeStringYesA unique value must be used.