Putaway tasks

Create or update a putaway task

PUT
/api/putaway-tasks/{id}
Create or update putaway task.
curl --request PUT \
  --url https://rologi-flow.example.com/api/putaway-tasks/12345 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Ras-Api-Version: 1' \
  --data '
{
  "site": "1000",
  "system": "AS1",
  "container": {
    "type": "TOTE",
    "variant": "TOTE-S",
    "lpn": "TOTE-001-001",
    "location": "AS1-01-001"
  },
  "lines": [
    {
      "id": "1",
      "item": "digital-camera",
      "quantity": {
        "amount": 3,
        "unit": "PIECE"
      },
      "priorityTimestamp": "2025-11-01T10:30:00Z",
      "priority": 1,
      "container": {
        "type": "TOTE",
        "variant": "TOTE-S",
        "lpn": "TOTE-001-001",
        "location": "AS1-01-001"
      },
      "lotNumber": "XYZ24041508A",
      "batchNumber": "X24078",
      "expiryDate": "2025-12-31"
    }
  ],
  "priorityTimestamp": "2025-11-01T10:30:00Z",
  "priority": 1,
  "name": "Morning DHL delivery 2025-11-01",
  "type": "GOODS_RECEIPT",
  "supplier": "Acme Company Ltd.",
  "traits": {
    "deliveryNote": "DN-2025-000456"
  }
}
'
{
  "id": "12345",
  "site": "1000",
  "system": "AS1",
  "state": "CREATED",
  "container": {
    "type": "TOTE",
    "variant": "TOTE-S",
    "lpn": "TOTE-001-001",
    "location": "AS1-01-001"
  },
  "createdAt": "2025-11-01T08:15:30.125Z",
  "updatedAt": "2025-11-01T09:42:10.500Z",
  "lines": [
    {
      "id": "1",
      "state": "CREATED",
      "item": "digital-camera",
      "quantity": {
        "amount": 3,
        "unit": "PIECE"
      },
      "createdAt": "2025-11-01T08:15:30.125Z",
      "updatedAt": "2025-11-01T09:42:10.500Z",
      "priorityTimestamp": "2025-11-01T10:30:00Z",
      "priority": 1,
      "container": {
        "type": "TOTE",
        "variant": "TOTE-S",
        "lpn": "TOTE-001-001",
        "location": "AS1-01-001"
      },
      "expiryDate": "2025-12-31",
      "lotNumber": "XYZ24041508A",
      "batchNumber": "X24078",
      "finishedAt": "2025-11-01T10:05:00.000Z"
    }
  ],
  "name": "Morning DHL delivery 2025-11-01",
  "priorityTimestamp": "2025-11-01T10:30:00Z",
  "priority": 1,
  "type": "GOODS_RECEIPT",
  "traits": {
    "deliveryNote": "DN-2025-000456"
  },
  "finishedAt": "2025-11-01T10:05:00.000Z"
}

Creates a new putaway task if it does not exist, or updates it if it already exists.

Authorizations

Authorization
stringheaderrequired

JWT bearer token authentication.

Parameters

id
stringpathrequired

Unique identifier of the putaway task.

Ras-Api-Version
enum<string>header
Available options: 1

Body

application/json
site
stringrequired

Identifier of the site or warehouse.

system
stringrequired

Identifier of the automation system within the site or warehouse into which stock will be be placed.

container
objectrequired

The container from which the items of this Putaway Task are sourced.

Hide child attributes

container.type
enum<string>required

Type of the container.

Available options: PALLET, CART, PUT_WALL, TOTE, CRATE, BOX, BAG, SLOT, AUTOSTORE_BIN, WELAND_TRAY
container.variant
string | null

Optional container variant (for example size or model).

container.lpn
string | null

License plate number, barcode, or other scannable identifier of the container.

container.location
string | null

Optional physical location of the container.

lines
object[]required

List of Putaway Task Lines.

Hide child attributes

lines.id
stringrequired

Identifier of the Putaway Task Line, it needs to be unique in the context of a single Putaway Task.

lines.item
stringrequired

Stock keeping unit identifier.

lines.quantity
objectrequired

Quantity to be put away.

Hide child attributes

lines.quantity.amount
number

Numeric value representing the quantity amount.

lines.quantity.unit
enum<string> | null

Unit of measure for the quantity, such as pieces or grams. If not given, the default unit of measure applies, which is pieces unless agreed otherwise.

Available options: PIECE, GRAM, KILOGRAM
lines.priorityTimestamp
string | null

Line-level priority key, earlier first; missing values sort last. Rounded to whole seconds.

lines.priority
integer | null

Line-level priority key, lower value first (0 is the highest priority); missing values sort last.

lines.container
object | null

The optional container in which the items are placed and is used for putaway.

Hide child attributes

lines.container.type
enum<string>required

Type of the container.

Available options: PALLET, CART, PUT_WALL, TOTE, CRATE, BOX, BAG, SLOT, AUTOSTORE_BIN, WELAND_TRAY
lines.container.variant
string | null

Optional container variant (for example size or model).

lines.container.lpn
string | null

License plate number, barcode, or other scannable identifier of the container.

lines.container.location
string | null

Optional physical location of the container.

lines.lotNumber
string | null

Optional lot number of the item.

lines.batchNumber
string | null

Optional batch number of the item.

lines.expiryDate
string | null

Optional expiry date of the item.

priorityTimestamp
string | null

Task-level priority key, earlier first; missing values sort last. Rounded to whole seconds.

priority
integer | null

Task-level priority key, lower value first (0 is the highest priority); missing values sort last.

name
string | null

Optional name for the Putaway Task.

type
string | null

Optional type of the Putaway Task.

supplier
string | null

Optional name of the supplier.

traits
object | null

Optional free-form key/value traits of the Putaway Task, e.g. a reference the integrated system needs to see with it. Rologi Flow keeps them as received without interpreting them and returns them with the Putaway Task. Each create or update replaces them, so traits not sent are removed.

Response

application/json

OK

id
stringrequired

Unique identifier of the Putaway Task.

site
stringrequired

Identifier of the site or warehouse.

system
stringrequired

Identifier of the automation system within the site or warehouse into which stock will be be placed.

state
enum<string>required

Current state of the Putaway Task.

Available options: CREATED, ACTIVATED, IN_PROGRESS, REVOKED, COMPLETED, CANCELED, FAILED
container
objectrequired

The container from which the items of this Putaway Task are sourced.

Hide child attributes

container.type
enum<string>required

Type of the container.

Available options: PALLET, CART, PUT_WALL, TOTE, CRATE, BOX, BAG, SLOT, AUTOSTORE_BIN, WELAND_TRAY
container.variant
string | null

Optional container variant (for example size or model).

container.lpn
string | null

License plate number, barcode, or other scannable identifier of the container.

container.location
string | null

Optional physical location of the container.

createdAt
stringrequired

Time when the Putaway Task was created in Rologi Flow, e.g. received from the integrated system. It is not the start of its execution.

updatedAt
stringrequired

Time of the latest change of the Putaway Task recorded in Rologi Flow. It is not the time of its completion.

lines
object[]required

List of this Putaway Task Lines.

Hide child attributes

lines.id
stringrequired

Identifier of the Putaway Task Line, it needs to be unique in the context of a single Putaway Task.

lines.state
enum<string>required

Current state of the Putaway Task Line.

Available options: CREATED, IN_PROGRESS, REVOKED, COMPLETED, CANCELED, FAILED
lines.item
stringrequired

Stock keeping unit identifier.

lines.quantity
objectrequired

Quantity to be put away.

Hide child attributes

lines.quantity.amount
number

Numeric value representing the quantity amount.

lines.quantity.unit
enum<string> | null

Unit of measure for the quantity, such as pieces or grams. If not given, the default unit of measure applies, which is pieces unless agreed otherwise.

Available options: PIECE, GRAM, KILOGRAM
lines.createdAt
stringrequired

Time when the Putaway Task Line was created in Rologi Flow, e.g. received from the integrated system. It is not the start of its execution.

lines.updatedAt
stringrequired

Time of the latest change of the Putaway Task Line recorded in Rologi Flow. It is not the time of its completion.

lines.priorityTimestamp
string | null

Line-level priority key, earlier first; missing values sort last. Rounded to whole seconds.

lines.priority
integer | null

Line-level priority key, lower value first (0 is the highest priority); missing values sort last.

lines.container
object | null

The optional container in which the items are placed to be put away.

Hide child attributes

lines.container.type
enum<string>required

Type of the container.

Available options: PALLET, CART, PUT_WALL, TOTE, CRATE, BOX, BAG, SLOT, AUTOSTORE_BIN, WELAND_TRAY
lines.container.variant
string | null

Optional container variant (for example size or model).

lines.container.lpn
string | null

License plate number, barcode, or other scannable identifier of the container.

lines.container.location
string | null

Optional physical location of the container.

lines.expiryDate
string | null

Optional expiry date of the item.

lines.lotNumber
string | null

Optional lot number of the item.

lines.batchNumber
string | null

Optional batch number of the item.

lines.finishedAt
string | null

Time when the Putaway Task Line reached a final state, whichever it is, see its state for the outcome. Not given until then.

name
string | null

Optional name for the Putaway Task.

priorityTimestamp
string | null

Task-level priority key, earlier first; missing values sort last. Rounded to whole seconds.

priority
integer | null

Task-level priority key, lower value first (0 is the highest priority); missing values sort last.

type
string | null

Optional type of the Putaway Task.

traits
object | null

Free-form key/value traits of the Putaway Task as supplied by the integrated system. Not given when none were supplied.

finishedAt
string | null

Time when the Putaway Task reached a final state, whichever it is, see its state for the outcome. Not given until then.