inventory_snapshot
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
snapshot_id | String! | Yes | ||
analyze | Boolean | No | If true, the query will only be analyzed (cost estimated) without executing it. |
Return Type
Query
query inventory_snapshot(
$snapshot_id: String!,
$analyze: Boolean
) {
inventory_snapshot(
snapshot_id: $snapshot_id,
analyze: $analyze
) {
request_id
complexity
data {
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
}
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
{
"snapshot_id": "abc123",
"analyze": true
}Response
{
"data": {
"inventory_snapshot": {
"request_id": "abc123",
"complexity": 987,
"data": InventorySnapshot,
"snapshot": InventorySnapshot
}
}
}