--- title: ProductVariantDetachMediaPayload - GraphQL Admin description: Return type for `productVariantDetachMedia` mutation. api_version: 2025-10 api_name: admin type: payload api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/payloads/productvariantdetachmediapayload md: https://shopify.dev/docs/api/admin-graphql/latest/payloads/productvariantdetachmediapayload.md --- # Product​Variant​Detach​Media​Payload payload Return type for `productVariantDetachMedia` mutation. ## Fields * product [Product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) The product associated with the variants and media. * product​Variants [\[Product​Variant!\]](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) The product variants that were updated. * user​Errors [\[Media​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MediaUserError) non-null The list of errors that occurred from executing the mutation. *** ## Mutations with this payload * [product​Variant​Detach​Media](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantDetachMedia) mutation Detaches media from product variants. *** ## Map ### Mutations with this payload * [product​Variant​Detach​Media](https://shopify.dev/docs/api/admin-graphql/latest/types/productVariantDetachMedia)