cycle_count
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
id | String! | Yes | The ID of the cycle count batch. | |
analyze | Boolean | No | If true, the query will only be analyzed (cost estimated) without executing it. |
Return Type
Query
query cycle_count(
$id: String!,
$analyze: Boolean
) {
cycle_count(
id: $id,
analyze: $analyze
) {
request_id
complexity
data {
id
legacy_id
name
warehouse_id
account_id
count_type
queue_status
status
progress
counted
uncounted
due_date
started_at
ended_at
created_at
updated_at
locations {
total
counted
}
skus {
total
counted
}
}
}
}Variables
{
"id": "abc123",
"analyze": true
}Response
{
"data": {
"cycle_count": {
"request_id": "abc123",
"complexity": 987,
"data": CycleCountBatch
}
}
}