Product Variants Bulk Update User Error
Requires access scope.
Error codes for failed variant bulk update mutations.
Anchor to FieldsFields
- Anchor to codecode•Product
Variants Bulk Update 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
Updates multiple variants in a single product. This mutation can be called directly or via the bulkOperation.
- Anchor to allowPartialUpdatesallow•BooleanDefault:false
Partial Updates When partial updates are allowed, valid variant changes may be persisted even if some of the variants updated have invalid data and cannot be persisted. When partial updates are not allowed, any error will prevent all variants from updating.
- Anchor to mediamedia•[Create
Media Input!] List of new media to be added to the product.
- Anchor to productIdproduct•ID!required
Id The ID of the product associated with the variants to update.
- Anchor to variantsvariants•[Product
Variants Bulk Input!]!required An array of product variants to update.
Arguments
- Anchor to productproduct•Product
The updated product object.
- Anchor to productVariantsproduct•[Product
Variants Variant!] The updated variants.
- Anchor to userErrorsuser•[Product
Errors Variants Bulk Update User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields