Update a Hard Good product

Use this method to update Hard-Good products in the Product Setup screen.

Valid Tokens: Company.


Related Articles

Request


URL: https://api.kometsales.com/api/hardgood.product.update

Method: POST

Content-Type: application/JSON


Headers

authenticationToken (required)(string:50)

Komet Sales security token.


Input Parameters

Id (required)(integer 10)

The Hard Good product ID associated with the Vendor.


category (required)(string:200)

Product category name.


subcategory (required)(string)

Product subcategory name.


description  (required)(string:200)

Hard Good product description.


activePerItem (required) (boolean:1)

If the product is active.

Valid values: 1 = Yes | 0 = No


color (optional)(string:200)

Product color.


vendorId (optional)(integer:20)

Komet Sales internal Vendor ID.

You can get this value from the vendor.list API method.


vendorCode(optional)(string:15)

The code of the Vendor that you want to update.

You can get this value from the vendor.list API method.


sku (required) (string:15)

Product SKU code.


caseUPC (optional) (string:15)

Case UPC code.


unitUPC (optional) (string:15)

Unit UPC code.


packSize (required) (integer:5)

The number of units per pack.


unitCost (optional) (decimal: 10,2)

Unit cost.


unitPrice (optional) (decimal: 10,2)

Unit price.


unitPriceMarkup (optional) (decimal: 10,2)

Unit price markup.


discount (optional) (decimal: 10,2)

Quantity discount percentage.


qtyForDiscount (optional) (integer)

Minimum amount of boxes to apply the quantity discount.


{ "Id": 34824, "category": "Ribbon", "subcategory": "Special", "description": "Container", "activePerItem": 1, "vendorId": "6322", "sku": "3445JGBT", "packSize": "10" }

 

Response


status (integer:1)

Transaction status.

Valid values: 1 = Success | 0 = Failure


message (string:500)

Transaction status description.


productId (integer:20)

Komet Sales internal product ID.


{ "message": "Product was successfully saved", "status": "1" }

 

Peacock