Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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

Table of Contents


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.


{
  "genusId": "Agaphantus",
  "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.


{
    "headers": {
        "statusCode": 200
    },
    "body": [
        {
            "productId": 2000076,
            "productName": "Charmelia Yellow"
        },
        {
            "productId": 2000319,
            "productName": "Yellow King"
        }
    ]
}
  • No labels