8.SIMILAR
Typical request/response flow for similar products.
GraphQL API Query
query {
product(id: "8S-DEMO-Polohemd-1") {
similarProducts(first: 2) {
edges {
node {
id
}
}
}
}
}GraphQL API response
{
"data": {
"product": {
"similarProducts": {
"edges": [
{
"node": {
"id": "8S-DEMO-Polohemd-10"
}
},
{
"node": {
"id": "8S-DEMO-Polohemd-9"
}
}
]
}
}
}
}View event
Interact event
click
add to cart
Last updated
Was this helpful?