Anchor to productVariantDeleteproduct
mutationproduct Variant Delete
Requires access scope. Also: The user must have a permission to delete a product variant.
Deprecated. Use productVariantsBulkDelete instead. This will be removed in 2024-10.
Deletes a product variant.
Anchor to Arguments
Arguments
- •ID!required
The ID of the product variant to be deleted.
Was this section helpful?
- Anchor to deletedProductVariantIddeleted•ID
Product Variant Id The ID of the deleted product variant.
- Anchor to productproduct•Product
The product associated with the deleted product variant.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?