Add product blacklisting mutation (#18)

This commit is contained in:
Niklas Fondberg
2021-09-01 15:27:52 +02:00
committed by GitHub
parent cbb0024359
commit cb4a7c40b7
5 changed files with 59 additions and 1 deletions
+12
View File
@@ -382,6 +382,18 @@ input ProductInfoInput {
visible: Boolean!
}
input ProductBlacklistingInput {
"""
Only ones used are ProductGroup: PHOTO_WALLPAPER CANVAS WALLPAPER POSTER
"""
marketId: Int!
groupIds: [Int]
}
type Mutation {
productInfo(productId: Int!, info: ProductInfoInput!): Product
productBlacklisting(
productId: Int!
markets: [ProductBlacklistingInput]
): Product
}