HandToHuman CLI reference All commands
DocsCLImarketmarket rate

Public command

market rate

Rate the opposite party after an order settles.

Exact invocation
handtohuman market rate <ORDER_ID> <RATER_ID> --score <1..5> [--comment <TEXT>]
01

Inputs and options

<ORDER_ID>

Required settled order id.

<RATER_ID>

Required buyer or worker account id.

--score <1..5>

Required integer score from 1 through 5.

--comment <TEXT>

Optional rating comment.

02

Output and state effect

Result

Creates one rating from the rater to the other party and prints the ratee account with its updated average and count.

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 scores outside 1–5, orders not in accepted or refunded state, and raters who are not an order party.
  • Refuses a second rating by the same rater for the same order.