cycle_count
Fetch cycle count records matching the supplied arguments.
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": "Q3ljbGVDb3VudEJhdGNoOjEyMzQ=",
"analyze": true
}Response
{
"data": {
"cycle_count": {
"request_id": "UmVjb3JkOjEyMzQ=",
"complexity": 100,
"data": {id: "Q3ljbGVDb3VudEJhdGNoOjEyMzQ="}
}
}
}