added commerce's products and variations queries to graphql
This commit is contained in:
@@ -37,3 +37,19 @@ extend type Query {
|
||||
extend type Query {
|
||||
company(id: Int!): Company
|
||||
}
|
||||
|
||||
extend type Query {
|
||||
product(id: Int!): Product
|
||||
}
|
||||
|
||||
extend type Query {
|
||||
products(ids: [Int]): [Product]
|
||||
}
|
||||
|
||||
# extend type Query {
|
||||
# variation(id: Int!): Variation
|
||||
# }
|
||||
#
|
||||
# extend type Query {
|
||||
# variations(id: [Int]): Variation
|
||||
# }
|
||||
|
Reference in New Issue
Block a user