INPUT_OBJECT

MediaBatchProductInput

link GraphQL Schema definition

1input MediaBatchProductInput {
2
3productId: Int!
4
5# Optional, if the media should be connected to the variant directly
6variantId: Int
7
8mediaType: MediaType!
9
10url: String!
11
12# Any meta-data can be added here as a JSON object
13metaDataJSON: String
14}