disableProductVariants
Disable a product variant
This page contains
Arguments
input DisableProductVariantsInput! PREVIEW |
DisableProductVariantsInput fields
productId ID! | Id of the product to disable its variants |
configuration [ProductVariantConfigurationInput!]! PREVIEW | List of option, value that will be computed to correspond to one or more product variants. Example configuration:
|
Return Fields
product Product PREVIEW | Product |
userErrors [DisableProductVariantsError!] PREVIEW | Errors that occurred when disabling variants |
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.