v1

latestSwagger 2.0MIT2026-07-17233380637.0 KB
Ecommerce

Create/Update a product

post/products

Request body

idstring string required

Product ID for which you requested the details

namestring string required

Mandatory in case of creation**. Name of the product for which you requested the details

urlstring string

URL to the product

imageUrlstring string

Absolute URL to the cover image of the product

skustring string

Product identifier from the shop

pricenumber float

Price of the product

categoriesstring[]

Category ID-s of the product

parentIdstring string

Parent product id of the product

metaInfoobject

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 10.

updateEnabledboolean

Facilitate to update the existing category in the same request (updateEnabled = true)

deletedAtstring

UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) of the product deleted from the shop's database

isDeletedboolean

product deleted from the shop's database

Example request

{
  "id": "P11",
  "name": "Iphone 11",
  "url": "http://mydomain.com/product/electronics/product1",
  "imageUrl": "http://mydomain.com/product-absoulte-url/img.jpeg",
  "metaInfo": {
    "description": "Shoes for sports",
    "brand": "addidas"
  },
  "deletedAt": "2017-05-12T12:30:00.000+0000",
  "isDeleted": true
}

Response

Product created

idinteger

ID of the Product when a new product is created

Example response

{
  "id": 122
}