updateProductVariantsByIds
Update the product's variant(s) by id(s)
This page contains
Arguments
input UpdateProductVariantByIdsInput! PREVIEW |
UpdateProductVariantByIdsInput fields
productId ID! | Product id |
ids [ID!]! | Product's variant(s) id(s) |
isEnabled Boolean | To enable or disable the product variant(s) |
physicalAttributes PhysicalAttributesInput PREVIEW | Updated physical attributes |
Return Fields
variantIds [ID!]! | Ids of the updated variants |
userErrors [UpdateProductVariantsErrors!] PREVIEW | Errors that occurred when update 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.