Querying Products
List Products
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?