Update variant
Use the Update variants mutation to update variants.
Mutation
mutation updateProductVariants($input: UpdateProductVariantsInput!) {
updateProductVariants(input: $input) {
userErrors
variants {
configuration {
code
hexcode
name {
locale
value
}
}
edition {
code
id
inventory {
editionCode
id
sku
}
}
id
}
}
}
Was this page helpful?
Tell us more…
Help us improve our content. Responses are anonymous.
Thanks
We appreciate your feedback!