Querying Products
List Products
Querying products gives access to Nosto's product catalogs current state. It can be useful for backend integration and verification purposes. It is not meant for online use purposes as it doesn't include any concepts related to user sessions or attribution, for those refer to GraphQL For Headless
curl -0 -v -X POST https://api.nosto.com/v1/graphql \
-u ":<token>" \
-H 'Content-Type: application/graphql' \
-d @- << EOF
query {
products(
limit: 5
offset: 0
sort: {field: PRICE, reverse:true},
filter: {categories: "shoes"}
) {
products {
productId
url
price
categories
}
}
}
EOFQuery by Product ID
Last updated
Was this helpful?