Merge pull request #46 from Photowall/148-add-mutations-for-categories

This commit is contained in:
Anders Gustafsson
2021-09-17 08:31:30 +02:00
committed by GitHub
3 changed files with 51 additions and 0 deletions
+3
View File
@@ -466,4 +466,7 @@ type Mutation {
removeRelatedProducts(productId: Int!, relatedProductIds: [Int]!): Product
addKeyword(name: String!, type: KeywordType): Keyword
addCategoriesToProduct(productId: Int!, categoryIds: [Int]!): Product
removeCategoriesFromProduct(productId: Int!, categoryIds: [Int]!): Product
}