variantMediaAssign Mutation
Assign an media to a product variant.
variantMediaAssign(
mediaId: ID!
variantId: ID!
): VariantMediaAssign
Arguments
variantMediaAssign.mediaId
● ID!
non-null scalar miscellaneous
ID of a product media to assign to a variant.
variantMediaAssign.variantId
● ID!
non-null scalar miscellaneous
ID of a product variant.
Type
VariantMediaAssign
object products
Assign an media to a product variant.