These are examples of queries to fetch custom category taxonomy data.
Retrieve categories with taxonomy "product-category"
:
Type GenericCustomPost
has field categories
, to retrieve the custom categories added to the custom post:
To retrieve the custom posts with given categories, we can use input filter.categories
:
Mutation:
Nested mutation:
This query creates, updates and deletes category terms for a custom some-cat-taxonomy
category: