8.SET
Typical request/response flow for matching product clusters.
Last updated
Was this helpful?
Was this helpful?
{
"type": "view",
"view": {
"type": "matchingProductClusters",
"matchingProductClusters": {
"id": "8S-DEMO-Polohemd-1",
}
},
"context": [
{
"type": "user",
"user": {
"id": "c57a43f7-eefc-462b-b5a8-0ef421e90f67"
}
}
]
}{
"type": "interact",
"interact": {
"action": "click",
"type": "product",
"product": {
"sku": "8S-DEMO-Hose-1"
}
},
"context": [
{
"content": {
"matchingProductClusters": {
"id": "8S-DEMO-Polohemd-1"
},
"type": "matchingProductClusters"
},
"type": "content"
},
{
"type": "user",
"user": {
"id": "c57a43f7-eefc-462b-b5a8-0ef421e90f67"
}
}
]
}{
"type": "interact",
"interact": {
"action": "addToCart",
"type": "product",
"product": {
"sku": "8S-DEMO-Schuhe-1-43"
}
},
"context": [
{
"content": {
"matchingProductClusters": {
"id": "8S-DEMO-Polohemd-1"
},
"type": "matchingProductClusters"
},
"type": "content"
},
{
"type": "user",
"user": {
"id": "c57a43f7-eefc-462b-b5a8-0ef421e90f67"
}
}
]
}