HandToHuman CLI reference All commands
DocsCLImarket campaign-close

Public command

market campaign-close

Stop new orders inside a campaign; orders already drawn keep their state.

Exact invocation
handtohuman market campaign-close <CAMPAIGN_ID>
01

Inputs and options

<CAMPAIGN_ID>

Required campaign identifier.

02

Output and state effect

Result

Sets the campaign's state to closed and prints it as campaign-show does. campaign-order refuses a closed campaign; every order already drawn against it keeps its state, escrow and bonus, and its committed budget stays counted. campaign-reopen is the inverse.

Serialization

Prints the campaign as pretty-printed JSON.

Refusals

  • An unknown id refuses with campaign not found: <id>.
  • A campaign that is already closed refuses with campaign <id> is already closed.