Use case: “I want to build a PLP that surfaces new arrivals in carousels by product tier: Tier A for top clubs, Tier B for mid-tier, and Tier C for the rest. This replaces static manual processes site-wide.”
Entry points
This composition supports two entry points: a search query forfootball on the browse PLP, and the category page route /football.
- Category page
- Browse query
Configure with the API
Create the composition with the Update and insert composition endpoint, then apply thebehavior defined below.
To scope the behavior to a specific search query, category, or context, send the same behavior inside a composition rule’s consequence.behavior with the Update and insert composition rule endpoint.
- Single index
- Multiple indices
1
Add the brand feed
JSON
2
Add the trending feed
JSON
3
Add the latest-in-football feed
JSON
Enhance your feeds
Add a feed for trending items
Add a Recommend to power a trending-items carousel. This example pulls trending items from theuk-products index, filtered to the football category.
JSON
Inject an external source Smart Group
Inject an external source Smart Group into one of your feeds to surface sponsored items selected at query time by your retail-media platform or bidding system. The object IDs are passed in the request body when querying the composition (see External source groups).JSON
Hide feeds
You can hide or reorder feeds with thefeedsOrder field.
Set it on the composition itself, on a composition rule, or pass it at query time.
Omitting a feed from feedsOrder hides it for that scope. Reordering changes the order of feeds in the response.
- In the composition
- In a composition rule
- At query time
Update
feedsOrder on the composition to change the default order or hide a feed across all queries (here, football-popular-uk is omitted to hide it).JSON