148 - Product category mutations

This commit is contained in:
Anders Gustafsson
2021-09-16 11:04:23 +02:00
parent c4915cb15f
commit 2a2281ab5d
3 changed files with 51 additions and 0 deletions
+3
View File
@@ -459,4 +459,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
}