Mutation
mutation cycle_count_locations_create(
$data: CreateLocationsCycleCountInput!
) {
cycle_count_locations_create(
data: $data
) {
request_id
complexity
cycle_count {
...CycleCountBatchFragment
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 {
...CycleCountProgressTypeFragment
total
counted
}
skus {
...CycleCountProgressTypeFragment
total
counted
}
}
}
}
Variables
{
"data": {
"customer_account_id": "abc123",
"name": "abc123",
"warehouse_id": "abc123",
"due_date": ISODateTime,
"sort_by": "abc123",
"max_items": 987,
"assigned_user_ids": ["abc123"],
"prefixes": ["abc123"],
"location_type_ids": ["abc123"],
"client_ids": ["abc123"],
"exclusion_filters": ExclusionFiltersInput
}
}
Response
{
"data": {
"cycle_count_locations_create": {
"request_id": "abc123",
"complexity": 987,
"cycle_count": CycleCountBatch
}
}
}