Create a Product
Product creation
POST
https://{workspace}.myeshopbox.com/product-engine/api/v1/products
This endpoint creates a product.
Headers
Name | Type | Description |
---|---|---|
Authentication | string | The bearer token to grant access to the API |
Request Body
Name | Type | Description |
---|---|---|
sku | string | A |
type | string | Defines a type of the product(Base, Kit, Virtual Combo) |
description | string | Product description |
brand | string | Product brand |
vertical | string | Product category code |
mrp | number | Maximum retail price of product |
unitPrice | number | Unit price of product |
dimensionLength | number | A characteristic of a product in terms of its length |
dimesnionWidth | number | A characteristic of a product in terms of its width |
dimensionHeight | number | A characteristic of a product in terms of its height |
dimesnsionUnit | string | Dimension unit |
weight | number | Weight of a product without any packaging |
components | array | Unit of virtual combo and kit. It is null for base product |
hsnCode | string | It is used for the classification of goods in a systematic and logical manner |
taxCode | string | Product tax code |
groupCode | string | It used for grouping of multiple |
imageUrl | string | Product image |
additionalNames | object | Additional names of the product( |
specification | string | It describes the nature of the product(Fragile, Dangerous, Liquid, A battery or contains one, Media) |
properties | object | Client defined attributes of the product |
if (Brand, Vertical, MRP, unitPrice, HSN Code, Tax Code, Dimensions, Dimension Unit, Weight, and WeightUnit) fields are missing, then the draft product will be created. You will not be able to create consignment, orders, etc for draft products.
Last updated