Anchor to productDeleteMediaproduct
mutationproduct Delete Media
Requires access scope. Also: The user must have a permission to delete media from a product.
Deprecated. Use fileUpdate instead.
Deletes media for a product.
Anchor to Arguments
Arguments
- Anchor to mediaIdsmedia•[ID!]!required
Ids The media IDs to be deleted.
- Anchor to productIdproduct•ID!required
Id Specifies the product ID from which the media will be deleted.
Was this section helpful?
- Anchor to deletedMediaIdsdeleted•[ID!]
Media Ids List of media IDs which were deleted.
- Anchor to deletedProductImageIdsdeleted•[ID!]
Product Image Ids List of product image IDs which were deleted.
- Anchor to mediaUserErrorsmedia•[Media
User Errors User Error!]!non-null The list of errors that occurred from executing the mutation.
- Anchor to productproduct•Product
The product associated with the deleted media.
- Anchor to userErrorsuser•[User
Errors Error!]!non-nullDeprecated The list of errors that occurred from executing the mutation.
Was this section helpful?