Create/Update a product
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Request
Values to create/update a product
id
Product ID for which you requested the details
name
Mandatory in case of creation**. Name of the product for which you requested the details
categories
Category ID-s of the product
deletedAt
UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) of the product deleted from the shop’s database
imageUrl
Absolute URL to the cover image of the product
isDeleted
product deleted from the shop's database
metaInfo
Meta data of product such as description, vendor, producer, stock level. The size of cumulative metaInfo shall not exceed 1000 KB. Maximum length of metaInfo object can be 20.
parentId
Parent product id of the product
price
Price of the product
sku
Product identifier from the shop
stock
Current stock value of the product from the shop's database
updateEnabled
Facilitate to update the existing category in the same request (updateEnabled = true)
url
URL to the product
Response
Product created
id
ID of the Product when a new product is created