Magidoc

productVariantImageAssign
Mutation

Assign an image to a product variant.

Arguments

#

imageId

ID !
Non-null

ID of a product image to assign to a variant.

transferImageOwnership

Only for use by Marketplace Operator, if true then the image ownership will transfer to the seller that owns the variant it is being assigned to, if false or not provided then image ownership will not transfer.

variantId

ID !
Non-null

ID of a product variant.

Response

#

Returns ProductVariantImageAssign .

Example

#