Catalog Filters
To filter the Catalog, use one of the Filter Fields, an example below shows how to find only Courses, with a Specific Category (identified by id
).
query catalogue {
catalogue(
filters: [
{
field: "categoryId"
operation: "eq"
value: "TGVhcm5pbmdDYXRlZ29yeTo2"
}
{ field: "type", operation: "eq", value: "CourseTemplate" }
]
) {
edges {
node {
... on Course {
name
id
category
imageUrl
priceRange {
minimumPrice {
amount
}
normalPrice {
amount
}
maximumPrice {
amount
}
}
isFeatured
includedInPassTypeIds
}
}
}
}
}