HandToHuman CLI reference All commands
DocsCLImarketmarket offer-withdraw

Public command

market offer-withdraw

Stop new orders against an offer; orders already placed are untouched.

Exact invocation
handtohuman market offer-withdraw <ID>
01

Inputs and options

<ID>

Required offer id.

02

Output and state effect

Result

Sets the offer's status to withdrawn and prints the offer as JSON. A withdrawn offer is left out of market offers and market order-create refuses it; every order already placed against it keeps its state, escrow and payout. market offer-reopen is the inverse.

Serialization

Successful output is pretty-printed JSON. Commands with --output <FILE> write it there instead of stdout; marketplace leaves always print to stdout.

Refusals

  • Refuses an id that does not identify an existing offer: offer not found: <ID>.
  • Refuses an offer that is already withdrawn: offer <ID> is already withdrawn.