added commerce's products and variations queries to graphql

This commit is contained in:
2021-01-04 21:44:13 +01:00
parent dfe6a21021
commit 830f5a5909
3 changed files with 211 additions and 0 deletions

View File

@@ -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
# }