Create Product API is used to create products in product master.
Valid JSON String
Example:
{
"ProductCode": "CMS-108",
"ProductName": "CMS-108",
"SupplierCode": "12345",
"SupplierProductCode": "CMS-108",
"ImageURL": "https://images.meesho.com/images/products/134643839/qvc0k_256.jpg",
"Barcode": "",
"ProductCategory": "LAPTOP",
"PackageType": "BOX",
"Description": "",
"BuyingPrice": 10,
"SellingPrice": 15,
"PackType": "",
"PackageUnitMeasurement": "Pieces",
"SellablePack": "",
"MinLevel": 1,
"MaxLevel": 100,
"EANCode": "",
"HSNCode": "",
"Season": "",
"Brand": "",
"Gender": "",
"Composition": "",
"Manufacture": "",
"Volume": 1,
"Channels": "",
"SKUDetails": [
{
"SerialType": false,
"PartNumber": "CMS-108",
"Name": "CMS-108",
"EANNumber": "CMS-108",
"Color": "Black",
"Size": 12,
"Length": 1,
"Breadth": 2,
"Height": 3,
"Weight": 20,
"UnitPrice": 250,
"Quantity": 1,
"Description": "First SKU"
}
],
"CustomerProducts": [
{
"CustomerCode": "",
"ProductCode": ""
},
{
"CustomerCode": "",
"ProductCode": ""
}
]
}
Parameter | Data Type | Compulsory/Optional | Description |
---|---|---|---|
SecureKey | Compulsory | API secure key. Use a testing key as provided in the document. For production key email to support team. | |
ProductCode | Compulsory | Waybill number as in ERP. | |
ProductName | Commercial Invoice Number | ||
SupplierCode | Compulsory | Destination port as in ERP | |
SupplierProductCode | Optional | ||
Barcode | Optional | ||
ProductCategory | Compulsory | ||
PackageType | Compulsory | ||
Description | Optional | ||
BuyingPrice | Compulsory | ||
SellingPrice | Compulsory | Insurance cost | |
PackType | Optional | Additional cost | |
PackageUnitMeasurement | Optional | Comments if any | |
SellablePack | Optional | ||
MinLevel | Compulsory | Invoice print name as in ERP | |
MaxLevel | Compulsory | ||
HSNCode | Optional | ||
Season | Optional | ||
Brand | Optional | ||
Gender | Optional | ||
Composition | Optional | ||
Manufacture | Optional | ||
Volume | Optional | ||
Channels | Optional | ||
SKUDetails | Compulsory |
[ { "SerialType": false, "PartNumber": "CMS-108", "Name": "CMS-108", "EANNumber": "CMS-108", "Color": "Black", "Size": 12, "Length": 1, "Breadth": 2, "Height": 3, "Weight": 20, "UnitPrice": 250, "Quantity": 1, "Description": "First SKU" } ] |
|
CustomerProducts | Optional |
[ { "CustomerCode": "", "ProductCode": "" } ] |
ON SUCCESS
{
"message": "Product created successfully",
"messageType": "Success"
}
ON ERROR
{"message":"ERROR_MESSAGE","messageType":"Error"}}