Mutation
mutation inventory_sync_abort(
$data: AbortInventorySyncInput!
) {
inventory_sync_abort(
data: $data
) {
request_id
complexity
sync {
...InventorySyncStatusFragment
id
url
user_id
account_id
warehouse_id
customer_account_id
total_count
status
error
created_at
updated_at
success_count
error_count
finished_count
}
}
}
Variables
{
"data": {
"sync_id": "UmVjb3JkOjEyMzQ=",
"reason": "Customer requested expedited handling."
}
}
Response
{
"data": {
"inventory_sync_abort": {
"request_id": "UmVjb3JkOjEyMzQ=",
"complexity": 100,
"sync": {id: "SW52ZW50b3J5U3luY1N0YXR1czoxMjM0"}
}
}
}