3183 get locale data for categories (#143)
This commit is contained in:
+6
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user