Add mutation to copy new s3 image as product image (#45)

This commit is contained in:
Niklas Fondberg
2021-09-16 15:58:33 +02:00
committed by GitHub
parent e52c7d4522
commit 9059bc5d8d
3 changed files with 38 additions and 2 deletions
+6
View File
@@ -455,6 +455,12 @@ type Mutation {
productId: Int!
wallpaperTypes: [ProductWallpaperType]!
): Product
updateProductImage(
productId: Int!
uploadedS3Key: String!
width: Int!
height: Int!
): String
addRelatedProducts(productId: Int!, articleNumbers: [String]!): Product
removeRelatedProducts(productId: Int!, relatedProductIds: [Int]!): Product