Add mass edit of visible, browsable and blacklisting (#86)

* Add massedit WIP

* Add massedit

* Review comments

* Remove more debug
This commit is contained in:
Niklas Fondberg
2021-12-03 11:48:10 +01:00
committed by GitHub
parent 8096e4730c
commit 8cea3b5db6
3 changed files with 80 additions and 0 deletions
+10
View File
@@ -518,4 +518,14 @@ type Mutation {
removeCategoriesFromProduct(productId: Int!, categoryIds: [Int]!): Product
updateProductComments(productId: Int!, comments: String!): Product
massUpdatePublishing(
productIds: [Int]!
visible: Boolean
browsable: Boolean
): StringResult
massUpdateBlacklisting(
productIds: [Int]!
markets: [ProductBlacklistingInput]
): StringResult
}