Create WMS Product

Overview

Service Create WMS Product
Service Unique Name CreateProduct
Request Method POST
Content-Type application/json

Introduction

Create Product API is used to create products in product master.

Request Body

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": ""
}
]
}

Request Parameters

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": ""
}
]

Response

ON SUCCESS
{
"message": "Product created successfully",
"messageType": "Success"
}

ON ERROR
{"message":"ERROR_MESSAGE","messageType":"Error"}}

Error Messages

  • Channels does not exist
  • Failed to create product
  • Failed to validate channels
  • Invalid customer product code
  • Invalid warehouse minimum level
  • Invalid warehouse maximum level
  • Invalid volume
  • Invalid pack type
  • Invalid sellable pack
  • Invalid sku quantity
  • Invalid SKU weight
  • Package type missing
  • Package type does not exist
  • Part number already exist
  • Product detail missing
  • Product code missing
  • Product already exist
  • Product name missing
  • Product category missing
  • Product category does not exist
  • Supplier code missing
  • Supplier does not exist
  • SKU serial type missing
  • SKU weight missing
  • SKU quantity missing
  • SKU name missing
  • Volume missing
  • Warehouse minimum level missing
  • Warehouse maximum level missing
please wait...