moveAll

Move everything movable from one container to another.

One packet per item, packed top-left first and footprint-aware — the game's own "store all". Items that will not fit are left where they are and counted in `noFit`, so a full destination is a partial success rather than a failure. Quest-supplied backpack items cannot leave the backpack and are counted in `supplied`.

In Inventory & stash.

Request

POST /api/v1/sessions/{accountKey}/actions/moveAll

Parameters

NameTypeRequiredDescription
srcInv (src_inv)integeryesContainer to empty.
dstInv (dst_inv)integeryesContainer to fill.
premiumbooleannoAccepted for backwards compatibility and ignored.

Example request

{ "srcInv": 2, "dstInv": 4 }

Response

`{ moved, supplied, noFit, failed, srcInv, dstInv }`.

FieldTypeMeaning
movedintegerHow many were transferred.
noFitintegerHow many had no room in the destination.
suppliedintegerHow many were quest-supplied and could not leave the backpack.
failedintegerHow many sends were refused.

Example response

{ "moved": 11, "supplied": 0, "noFit": 2, "failed": 0, "srcInv": 2, "dstInv": 4 }

Errors

CodeWhen
action_failedSource and destination are the same, or no character is in the lobby.
plan_limitNot on the free plan.

See also

DarkerAPI is an independent project. It is not affiliated with, endorsed by or associated with IRONMACE Co., Ltd. or Valve Corporation. “Dark and Darker” and related marks belong to their respective owners.