FetchProduct
This method will return list of products for a given search criteria.
This method will search for products on a given search criteria and will return data in paged way. Page size can be mentioned in the request parameter. Using of "searchAfter" in request body will give you next page data.
post/V1/product/fetch
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
pageSizeinteger required
Page size, default to 1000
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 list of products.
Example response
{
"items": [
{
"objId": "2334322",
"gln": "0838016005012",
"dataPoolType": "SDP",
"item": {}
}
],
"message": "Warning message"
}Changes
No recorded changes to this operation across all 1 revision of this API.