Hi,
When I mark an draft order as complete, I want to change the Shopify order number. I am syncing orders from QuickBooks to Shopify. I want the Shopify order name field to equal the QuickBooks order number. Is that possible? Here is my code:
var mutation = @"
mutation completeDraftOrder($id: ID!, $paymentPending: Boolean) {
draftOrderComplete(id: $id, paymentPending: $paymentPending) {
draftOrder {
id
name
status
order {
id
name
}
}
userErrors {
field
message
}
}
}";