Get started

Quickstart

A first exchange: one item, one pick task, one event.

The examples use the example host rologi-flow.example.com. Your integration has its own base URL and its own token. See authentication and versioning.

1. Create an item

Send PUT with the item identifier in the path. Rologi Flow creates the item if it does not exist, or updates it if it exists.

PUT https://rologi-flow.example.com/api/simple-items/digital-camera
Authorization: Bearer <token>
Content-Type: application/json

{
  "name": "Digital Camera",
  "scancodes": ["8590000125008"],
  "uom": "PIECE"
}

See simple items for multipacks, supplier packagings, dimensions and weight.

2. Create a pick task

Send PUT with the task identifier in the path. The body names the site, the automation system and the lines to pick.

PUT https://rologi-flow.example.com/api/pick-tasks/1234
Authorization: Bearer <token>
Content-Type: application/json

{
  "site": "1000",
  "system": "AS1",
  "name": "1012345678 - John Doe",
  "type": "CUSTOMER_ORDER",
  "lines": [
    {
      "id": "1",
      "item": "digital-camera",
      "quantity": {
        "amount": 3,
        "unit": "PIECE"
      }
    }
  ]
}

The same request with the same identifier updates the task. See pick tasks.

3. Read the task

GET https://rologi-flow.example.com/api/pick-tasks/1234
Authorization: Bearer <token>

The answer has the state of the task and of each line.

Response: getPickTaskById
{
  "id": "1234",
  "site": "1000",
  "system": "AS1",
  "state": "CREATED",
  "name": "1012345678 - John Doe",
  "type": "CUSTOMER_ORDER",
  "priorityTimestamp": "2025-11-01T08:15:30Z",
  "priority": null,
  "createdAt": "2025-11-01T08:15:30.125Z",
  "updatedAt": "2025-11-01T08:15:30.125Z",
  "lines": [
    {
      "id": "1",
      "state": "CREATED",
      "item": "digital-camera",
      "quantity": {
        "amount": 3,
        "unit": "PIECE"
      },
      "createdAt": "2025-11-01T08:15:30.125Z",
      "updatedAt": "2025-11-01T08:15:30.125Z"
    }
  ]
}

createdAt is the time when Rologi Flow created the task. It is not the start of the work.

4. Receive the events

Rologi Flow sends events to your system when the work progresses. When the pick task is completed, canceled or aborted, Rologi Flow sends pickTaskFinished with the final state and the picks of each line.

Event: pickTaskFinished
{
  "site": "1000",
  "system": "AS1",
  "workstation": "001",
  "operator": "[email protected]",
  "pickTask": {
    "id": "1234",
    "state": "COMPLETED",
    "startedAt": "2025-11-09T12:24:01.629725Z",
    "finishedAt": "2025-11-09T12:24:18.735297Z",
    "lines": [
      {
        "id": "1",
        "state": "COMPLETED",
        "quantity": {
          "amount": 3,
          "unit": "PIECE"
        },
        "picks": [
          {
            "id": "NG01AMKM01ZG",
            "workstation": "001",
            "operator": "[email protected]",
            "quantity": {
              "amount": 3,
              "unit": "PIECE"
            },
            "source": {
              "type": "CELL",
              "code": "100011-2-2",
              "carrier": {
                "code": "100011"
              }
            },
            "target": {
              "containers": ["TOTE-001-001"]
            },
            "timestamp": "2025-11-09T12:24:01.629725Z"
          }
        ]
      }
    ]
  }
}

See events for all events and event examples for a full payload of each one.

Next steps