This method allows you to add a product into Komet Sales.



  • Method: POST
  • Content-Type: application/json

Input Parameters:

  • authenticationToken (required)(string:50): Komet Sales security token.
  • category (required)(string:200): name of the product category.
  • color (optional)(string:100): product color.
  • variety (optional)(string:100): product variety. 
  • grade (optional)(string:100): product grade.
  • code (optional)(string:20): product code or product legacy code. 
  • regionsOfOrigin (optional)(array): list of regions where the product comes from. 
  • productRollUpCode (optional) (string:20): Code of the rollup product. When this item is transferred to the units inventory it will be changed to the roll up item specified here.
  • defaultUnitType (optional(string:10): Default unit type of the product. Stem or Bunch. 
  • tags (optional)(string:200): Tags associated with the product separated by a comma. 

Note: At least one of these fields is required: Variety, Color, Grade. 

  "authenticationToken": "token_info_goes_here",
  "category": "Rose",
  "color": "Red",
  "variety": "Freedom",
  "grade": "50 cm",
  "code": "RS50",
  "tags": "standard,x-mas",
  "regionsOfOrigin" : [ "Africa","Quito" ]



  • status (integer:1): transaction status. 1 for success or 0 for failure.
  • message (string:500): description of the status of the transaction.
  • productId (integer:20): product internal ID that was just created.

  "status": "1",
  "message": "The product was successfully saved.",
  "productId": 234234