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": "abc123",
"reason": "abc123"
}
}
Response
{
"data": {
"inventory_sync_abort": {
"request_id": "abc123",
"complexity": 987,
"sync": InventorySyncStatus
}
}
}