Skip to main content

Order variant option

Use the Order variant options mutations to change the order of the options during the purchase flow.

EXAMPLE-- Use this mutation to re-order options from Finish, Capacity and Carrier to Capacity, Finish then Carrier.

Mutation

mutation($input: OrderProductVariantOptionsInput!){
orderProductVariantOptions(input: $input) {
product {
id
variantOptions {
code
}
}
userErrors{
... on UserError {
__typename
message
path
}
}
}
}

Was this page helpful?