HandToHuman CLI reference All commands
DocsCLImarket order-assign

Public command

market order-assign

Assign a funded order to a worker with a deadline, or reassign it once that deadline has passed.

Exact invocation
handtohuman market order-assign <ORDER_ID> --turnaround-minutes <N> [--worker <ACCOUNT>]
01

Inputs and options

<ORDER_ID>

Required. The order must be funded, or in_progress with its deadline already past.

--turnaround-minutes <N>

Required; 1 to 10080. Sets the new deadline from now.

--worker <ACCOUNT>

Worker account to assign. Defaults to the seller of the order’s offer.

02

Output and state effect

Result

Moves the order to in_progress on provider handtohuman, records the deadline, increments the attempt count, and opens a row in order_attempts. A reassignment closes the previous attempt as expired and does not touch the escrow: the funded amount, the released amount, and the refunded amount are all unchanged.

Serialization

Prints the resulting order as pretty-printed JSON, including deadline_at and attempt_count.

Refusals

  • An order still inside its deadline refuses with order <id> is assigned to <worker> until its deadline; reassignment waits for the deadline to pass.
  • An order in any state other than funded or in_progress refuses with what state it is in.
  • An account that is not a worker refuses with account <id> cannot perform orders.