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
- Base URLhttps://content1-api.1worldsync.com
- Authnone declared. Required headers: appid, hashcode
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
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
Example response
{
"count": 1000
}Changes
No recorded changes to this operation across all 1 revision of this API.