Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
topofpage
topofpage

Excerpt

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

Table of Contents

Table of Contents
minLevel1
maxLevel2
outlinefalse
excludeTable of Contents
typelist
printablefalse

Request


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

Method: GET

Content-Type: application/JSON


Header

authenticationToken (required)(string:50)

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


Input Parameters

genusId (required)(integer)

Category name.


productName (required)(string)

Name of the product you are searching. You can also search with parts of the 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.


Code Block
{
  "genusId": "Agaphantus1638927",
  "productName": "Blue Agaphantus",
  "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.


productId (integer)

Global Network Product ID.


productName (string)

Global Network Product Name.


Code Block
{
    "headers": {
        "statusCode": 200
    },
    "body": [
        {
            "productId": 2000076,
            "productName": "Charmelia Yellow"
        },
        {
            "productId": 2000319,
            "productName": "Yellow King"
        }
    ]
}

Back to top


Filter by label (Content by label)
showLabelsfalse
max5
titleRelated Articles
cqllabel in ( "company-token" , "vendor-token" , "customer-token" )