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": "QWNjb3VudDoxMjM0",
"name": "2",
"warehouse_id": "V2FyZWhvdXNlOjEyMzQ=",
"due_date": "2026-07-09T15:30:00Z",
"sort_by": "QUANTITY_ASC",
"max_items": 2,
"assigned_user_ids": ["Q3ljbGVDb3VudEJhdGNoOjEyMzQ=", "Q3ljbGVDb3VudEJhdGNoOjU2Nzg="],
"prefixes": ["A-", "B-"],
"location_type_ids": ["TG9jYXRpb25UeXBlOjEyMzQ=", "TG9jYXRpb25UeXBlOjU2Nzg="],
"client_ids": ["QWNjb3VudDoxMjM0", "QWNjb3VudDo1Njc4"],
"exclusion_filters": {id: "TG9jYXRpb246MTIzNA==", name: "A01-01-01"}
}
}
Response
{
"data": {
"cycle_count_locations_create": {
"request_id": "UmVjb3JkOjEyMzQ=",
"complexity": 100,
"cycle_count": {id: "Q3ljbGVDb3VudEJhdGNoOjEyMzQ="}
}
}
}