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?
Tell us more…
Help us improve our content. Responses are anonymous.
Thanks
We appreciate your feedback!