Get a Global Network Genus Code

Use this method to get a list of categories in the same genus with their global network name and ID.

Table of Contents


Request


URL: https://globalnetworkcodes.kometsales.com/genus

Method: GET

Content-Type: application/JSON


Header

authenticationToken (required)(string:50)

The support team of your system (Axerrio, Unosof, or Komet Sales) will provide you with the token you need to use this endpoint.


Input Parameters

genusName (required)(string)

Genus or category name.


limit (required)(integer)

The desired amount of products to retrieve.

The maximum number is 50; if the user enters more, the system will not exceed this number.


{ "genusId": "1327645", "limit": "49" }

Back to top

Response


Header

statusCode (string:500)

Transaction status result.

Valid Values: 200 = Success | 400 = Failure


Response

body (array)

An array containing product results.


genusId (integer)

Global Network Genus ID.


genusName (string)

Global Network Genus Name.


{ "headers": { "statusCode": 200 }, "body": [ { "genusId": 2000076, "genusName": "Alstroemeria" }, { "genusId": 2000319, "genusName": "Aster" } ] }

Back to top