Overview

This method returns a list of categories.

Request

https://api.kometsales.com/api/category.list

  • Method: GET
  • Content-Type: URL Params.

Input parameters:

  • authenticationToken (required)(string:50): Komet Sales security token.

Sample
https://api.kometsales.com/api/category.list?
authenticationToken=token_info_goes_here

Response

Output:

  • categoryItems: array of categories.
    • categoryId (integer:20): Komet Sales internal category ID.
    • categoryName (string:200): name of the category.
    • kometNetworkId(integer:5):  Unique identifier of the category mapped in the Komet Network Codes master data.
    • kometNetworkName(string:20): Name of the product category mapped in the Komet Network Codes master data.
    • active(boolean): true if the category is active, false if the category is not active
  • message (string:500): description of the status of the transaction.
  • status (integer:1): transaction status. 1 for success or 0 for failure.