Mutation
mutation inventory_generate_snapshot(
$data: InventoryGenerateSnapshotInput!
) {
inventory_generate_snapshot(
data: $data
) {
request_id
complexity
snapshot {
...InventorySnapshotFragment
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": {
"customer_account_id": "abc123",
"warehouse_id": "abc123",
"notification_email": "abc123",
"post_url": "abc123",
"post_url_pre_check": true,
"new_format": true,
"updated_from": ISODateTime,
"has_inventory": true
}
}
Response
{
"data": {
"inventory_generate_snapshot": {
"request_id": "abc123",
"complexity": 987,
"snapshot": InventorySnapshot
}
}
}