Media User Error
Represents an error that happens during execution of a Media query or mutation.
Anchor to FieldsFields
- Anchor to codecode•Media
User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- •mutation
Asynchronously reorders the media attached to a product.
- •ID!required
The ID of the product on which to reorder medias.
- Anchor to movesmoves•[Move
Input!]!required A list of moves to perform which will be evaluated in order.
Arguments
- •Job
The asynchronous job which reorders the media.
- Anchor to mediaUserErrorsmedia•[Media
User Errors User Error!]!non-null The list of errors that occurred from executing the mutation.
- Anchor to userErrorsuser•[User
Errors Error!]!non-nullDeprecated
Fields
- •mutation
Appends media from a product to variants of the product.
- Anchor to productIdproduct•ID!required
Id Specifies the product associated to the media.
- Anchor to variantMediavariant•[Product
Media Variant Append Media Input!]!required A list of pairs of variants and media to be attached to the variants.
Arguments
- Anchor to productproduct•Product
The product associated with the variants and media.
- Anchor to productVariantsproduct•[Product
Variants Variant!] The product variants that were updated.
- Anchor to userErrorsuser•[Media
Errors User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Detaches media from product variants.
- Anchor to productIdproduct•ID!required
Id Specifies the product to which the variants and media are associated.
- Anchor to variantMediavariant•[Product
Media Variant Detach Media Input!]!required A list of pairs of variants and media to be deleted from the variants.
Arguments
- Anchor to productproduct•Product
The product associated with the variants and media.
- Anchor to productVariantsproduct•[Product
Variants Variant!] The product variants that were updated.
- Anchor to userErrorsuser•[Media
Errors User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
Deprecated mutations
- •mutationDeprecated
- •mutationDeprecated
- •mutationDeprecated