Querying Category Merchandising Products (CM 1.0)
curl -0 -v -X POST https://api.nosto.com/v1/graphql \
-u ":<token>" \
-H 'Content-Type: application/graphql' \
-d @- << EOF
query {
session(by: BY_CID, id: $customerId) {
id
recos(
preview: false,
image: VERSION_ORIGINAL,
addAttributionParameters: true) {
category(
category: $categoryName,
minProducts: 1,
maxProducts: 10
) {
primary {
productId
url
}
batchToken
totalPrimaryCount
resultId
}
}
}
}
EOFSession Lookup
Attribution
Automatic Attribution
Manual Attribution
Event handling
Pagination
Filtering Results
Last updated
Was this helpful?