Update WMS Product

Overview

Service Update WMS Product
Service Unique Name UpdateProduct
Request Method POST
Content-Type application/json

Request Body

Valid JSON String
Example:
{
"ProductCode": "G1001",
"ProductName": "LP Denim T-Shirt",
"SupplierCode": "12345",
"SupplierProductCode": "LP Denim T-Shirt",
"ProductCategory": "TEST",
"PackageType": "BOX",
"Description": "LP Denim T-Shirt",
"BuyingPrice": 1800,
"SellingPrice": 2075,
"PackType": "Pieces",
"SellablePack": "Pieces",
"MinLevel": 1,
"MaxLevel": 500,
"EANCode": "3426",
"HSNCode": "2334",
"Season": "2022",
"Brand": "LP",
"Gender": "Male",
"Composition": "NA",
"Manufacture": "LP Textiles",
"Volume": 150,
"Channels": "ABC,AMS,FLIPKART",
"PackageUnitMeasurement": "Meter",
"SKUDetails": [{
"SerialType": true,
"PartNumber": "T-001",
"Name": "T001-Denim",
"EANNumber": "1235",
"Color": "White",
"Size": 40,
"Length": 12,
"Breadth": 14,
"Height": 16,
"Weight": 18,
"UnitPrice": 1800,
"Quantity": 2,
"Description": "T001-D"
},
{
"SerialType": true,
"PartNumber": "T-002-Denim",
"Name": "T002-Denim",
"EANNumber": "2346",
"Color": "Black",
"Size": 42,
"Length": 12,
"Breadth": 13,
"Height": 14,
"Weight": 21,
"UnitPrice": 2250,
"Quantity": 2,
"Description": "T002"
}
],
"CustomerProducts": [{
"CustomerCode": "HERO",
"ProductCode": "HERO01"
},
{
"CustomerCode": "VIJAYSALES",
"ProductCode": "VIJAYSALES01"
}
]
}

Response

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

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

Error Messages

  • Product does not exist
  • Channels does not exist
  • Failed to update product
  • Failed to validate channel
  • 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...