inventory_abort_snapshot
Cancels an inventory snapshot that is still being generated.
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
data | InventoryAbortSnapshotInput! | Yes |
Return Type
Mutation
mutation inventory_abort_snapshot(
$data: InventoryAbortSnapshotInput!
) {
inventory_abort_snapshot(
data: $data
) {
request_id
complexity
snapshot {
snapshot_id
job_user_id
job_account_id
warehouse_id
customer_account_id
notification_email
email_error
post_url
post_error
post_url_pre_check
status
error
created_at
enqueued_at
updated_at
snapshot_url
snapshot_expiration
new_format
}
}
}Variables
{
"data": {
"snapshot_id": "SW52ZW50b3J5U25hcHNob3Q6MTIzNA==",
"reason": "Customer requested expedited handling."
}
}Response
{
"data": {
"inventory_abort_snapshot": {
"request_id": "UmVjb3JkOjEyMzQ=",
"complexity": 100,
"snapshot": {id: "SW52ZW50b3J5U25hcHNob3Q6MTIzNA=="}
}
}
}