FetchProduct
Fetch item hierarchy details.
This method will return item hierarchy details based on a given search criteria and will return data with pagination. Page size can be mentioned in the "size" parameter. Using of "searchAfter" in request body loads next page.
post/V1/product/hierarchy
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",
"lastModifiedDate": {
"from": {
"date": "2023-01-01",
"op": "GTE"
},
"to": {
"date": "2023-01-31",
"op": "LTE"
}
},
"sortFields": [
{
"field": "lastModifiedDate",
"desc": "true"
},
{
"field": "gtin",
"desc": "false"
}
],
"searchAfter": []
}Response
Returns item hierarchy details.
Example response
{
"hierarchies": [
{
"gtin": "03007687545289"
}
],
"message": "To retrieve the next page of products, pick what you have received in searchAfter and set it in next request."
}Changes
No recorded changes to this operation across all 1 revision of this API.