Complete filtered tasks
Complete multiple tasks of a single type matching the supplied filters in one request. Tasks are matched by warehouse, task type, and the contents of filters; up to 50 are completed per call. The values in attributes are applied to each matched task before completion, so they apply uniformly to the whole set. This endpoint does NOT use JSON:API format.
Request Structure
Key Fields
| Field | Required | Description |
|---|---|---|
warehouse_id | Yes | Warehouse ID to scope the tasks |
task_type_code | Yes | Task type code. One of: PICK, DISP, RCV, PWAY, TRAN, REPLEN, LOAD, CONV |
filters | Yes | Must contain at least one filter key. Filters are combined with AND. |
filters.location_from_id | No | Restrict to tasks with this source location |
filters.product_id | No | Restrict to tasks for this product |
filters.storage_unit_from_id | No | Restrict to tasks with this source storage unit |
attributes | No | Attributes applied to each matched task before completion. Same shape as the PATCH /api/tasks/{id} attributes. |
Minimum Attributes per Task Type
Theattributes block needs to carry the fields each task type requires in order to complete. The minimum payload per type mirrors the single-task completion path:
| Task type | Minimum attributes |
|---|---|
PICK | confirmed_quantity, location_to_id |
RCV | confirmed_quantity, location_to_id, storage_unit_to_id |
PWAY | confirmed_quantity, location_to_id, storage_unit_to_id |
TRAN | location_to_id, storage_unit_to_id |
CONV | confirmed_quantity (optional; defaults to the task’s start_quantity) |
REPLEN | confirmed_quantity, location_to_id |
DISP and LOAD tasks are not usually completed via this endpoint. Use the shipment dispatch flow for DISP and POST /api/load_tasks/{id}/load_storage_unit for LOAD.
Behavior
- Matches tasks by
warehouse_id,task_type_code, and the supplied filters (AND-combined). - Up to 50 matching tasks are completed per request.
- Returns 204 No Content on success.
- Returns 422 if no filters are supplied, if no tasks match, or if a matched task fails its per-type validations (e.g. missing
confirmed_quantityon aPICK).
Authorizations
OAuth 2.0 authentication. Use the client credentials or authorization code flow to obtain an access token.
The subdomain/tenant name identifying which tenant's data to access. Required for all API requests.
Body
Warehouse ID to scope the tasks
Task type code
PICK, DISP, RCV, PWAY, TRAN, REPLEN, LOAD, CONV At least one filter must be specified. Maximum 50 tasks will be completed per request.
Optional attributes to set on each task before completion. Accepts the same fields as the task update endpoint.
Response
Operation completed successfully with no content to return

