Skip to main content
Anchor to ProductVariantsBulkUpdateUserError

ProductVariantsBulkUpdateUserError

object

Requires read_products access scope.

Error codes for failed variant bulk update mutations.

•ProductVariantsBulkUpdateUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!non-null

The error message.


Was this section helpful?

•mutation

Updates multiple variants in a single product. This mutation can be called directly or via the bulkOperation.

Arguments

•BooleanDefault:false

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.

•[CreateMediaInput!]

List of new media to be added to the product.

•ID!required

The ID of the product associated with the variants to update.

•[ProductVariantsBulkInput!]!required

An array of product variants to update.


Fields

•Product

The updated product object.

•[ProductVariant!]

The updated variants.

•[ProductVariantsBulkUpdateUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?
OSZAR »