Querying Recommendations
Fetching toplists recommendations
curl -0 -v -X POST https://api.nosto.com/v1/graphql \
-u ":<token>" \
-H 'Content-Type: application/graphql' \
-d @- << EOF
query {
recos (preview: false, image: VERSION_7_200_200) {
toplist(hours: 168, sort: BUYS, params: {
minProducts: 1
maxProducts: 10
}) {
primary {
name
productId
}
}
}
}
EOFFetching random recommendations
Fetching related recommendations
Fetching search recommendations
Add inclusive or exclusive filters
Last updated
Was this helpful?