Withdraw a bid
withdraw_bidCancel an outgoing bid you placed on a player, removing it from the market. Use the offer ID from get_offers; only outgoing offers are eligible.
Instructions
Withdraw a bid the manager has placed, so it is no longer in the running.
This changes what the manager has committed to. Confirm which bid with the
user before calling it. Ids come from get_offers; only offers whose direction
is outgoing can be withdrawn.
Refuses outright if the id belongs to an offer for one of the manager's players rather than a bid they made. Comunio uses the same request for both, so telling them apart is done here rather than left to chance.
A withdrawn bid cannot be restored, but a new one can be placed while the market is still open.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether Comunio accepted the withdrawal | |
| price | No | What the withdrawn bid offered | |
| player | No | Who the withdrawn bid was for | |
| offer_id | Yes | The offer that was withdrawn |