3183 get locale data for categories (#143)

This commit is contained in:
Anders Gustafsson
2023-02-24 09:24:52 +01:00
committed by GitHub
parent 0a26a3143e
commit 74f89e9934
6 changed files with 135 additions and 26 deletions
+6 -1
View File
@@ -27,7 +27,7 @@ type Query {
product(id: Int!): Product
productByPath(path: String!): Product
productsSearch(q: String!): ProductsSearchResult
categories: [Category]
categories(ids: [Int]): [Category]
category(id: Int!): Category
keywords: [Keyword]
keyword(id: Int!): Keyword
@@ -207,6 +207,10 @@ type OrderRowData {
pwintySku: String
}
type CategoryLocaleData {
path: String, name: String, locale: String
}
type Category {
id: ID!
name: String
@@ -222,6 +226,7 @@ type Category {
"""
products(includeAllSubCategories: Boolean): [Product]
localeNames: JSON
localeData(locale: String): [CategoryLocaleData]!
}
type Batch {