Hierarchy by product
Hierarchy
Hierarchy by product
Search within a specific type node under a game and set.
Use this for focused views like:
- cards-only in a set
- products-only in a set
- any browse page scoped to
game + set + type
Behavior:
- Resolves
{game},{set}, and{type}slugs in the hierarchy. - Merges hierarchy facets with request-body filters.
- Returns standard search results within that narrowed scope.
Failure behavior:
- Returns
404when no matching type exists for the selected game/set path.
POST
Hierarchy by product
Path Parameters
The slug of the game to retrieve results for
Example:
"pokemon"
The slug of the set to retrieve results for
Example:
"base-set"
The slug of the type to retrieve results for
Example:
"card"
Body
application/json
A search query includes a free text query property, refinements in the form of facets, pagination controls and optional sorting.
One or more free text search terms
Facets to refine the search results. Values are case-sensitive unless noted otherwise.
Offset for pagination
Number of results to return
Required range:
1 <= x <= 50Sort results by field and order