FetchProduct

This method will return product count for a given search criteria.

This method will return product count for a given search criteria.

post/V1/product/count

Request

Query parameters

timestampstring required

Current Timestamp in YYYY-MM-DDTHH:mm:ssZ format

Headers

appidstring required

API User App Id

hashcodestring required

Hash of secret key, URL and timestamp

glnunknown

Data requested for the GLNs (comma separated for multiple, no space required or Click the "Add Item" button)

Request body

gtinsstring[]
pullHierarchyboolean nullable

Flag to indicate whether to include hierarchy in the response

gtinstring[] nullable

Item GTIN array

ipGlnstring d{14} nullable

Information Provider GLN

targetMarketstring nullable

Target Market

brandNamestring nullable

Brand name (supports wildcard)

productTypestring nullable

Product Type

isConsumerUnitstring nullable

Consumer Unit

gpcCodestring nullable

GPC code or name (supports wildcard)

upcCodestring nullable

UPC code (supports wildcard)

searchAfterobject[] nullable

This field is used to fetch item in batch. To retrieve the next page of the items. You need to set searchAfter in search criteria from previous result.

Example request

{
  "gtin": [],
  "ipGln": "0838016005012",
  "targetMarket": "US",
  "lastModifiedDate": {
    "from": {
      "date": "2023-01-01",
      "op": "GTE"
    },
    "to": {
      "date": "2023-01-31",
      "op": "LTE"
    }
  },
  "brandName": "Brand Name",
  "productType": "EA",
  "isConsumerUnit": "false",
  "gpcCode": "10000248",
  "upcCode": "123456789128",
  "sortFields": [
    {
      "field": "lastModifiedDate",
      "desc": "true"
    },
    {
      "field": "gtin",
      "desc": "false"
    }
  ],
  "fields": {
    "include": [],
    "exclude": []
  },
  "searchAfter": []
}

Response

will return count of products on a given criteria

countinteger

This is total product count for given criteria.

Example response

{
  "count": 1000
}

Changes

No recorded changes to this operation across all 1 revision of this API.