Anchor to ProductVariantsBulkDeleteUserErrorProduct
objectProduct Variants Bulk Delete User Error
Requires access scope.
Error codes for failed bulk variant delete mutations.
Anchor to FieldsFields
- code (ProductVariantsBulkDeleteUserErrorCode)
- field ([String!])
- message (String!)
- Anchor to codecode•Product
Variants Bulk Delete 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.
Was this section helpful?
Anchor to MutationsMutations
- productVariantsBulkDelete (ProductVariantsBulkDeletePayload)
- •mutation
Deletes multiple variants in a single
Product. Specify the product ID and an array of variant IDs to remove variants in bulk. You can call this mutation directly or through themutation. Returns the updated product and anyobjects.- Anchor to variantsIdsvariants•[ID!]!
Ids required An array of product variants IDs to delete.
- Anchor to productIdproduct•ID!
Id required The ID of the product with the variants to update.
Arguments
Was this section helpful?