categories
Retrieve the product categories. The categories will be search in the current brand.
The party should have the list_categories permission granted.
Headers:
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer [token] | Yes |
categories(
filters: CategoryFilterInput!
sortField: CategoryFieldsEnum = created_at
sortType: SortTypeEnum = DESC
): [ProductCategory!]!