Respond to a Resollo offer
offers.respondResponds to a pending Make an Offer / bargaining offer. If the caller is the SELLER of the offer, action must be 'accept', 'reject', or 'counter' (counter_price required for 'counter') and the offer must currently be pending. If the caller is the BUYER, action is 'accept_counter' (the offer must currently be countered) or 'withdraw' (the offer must be pending or countered; withdrawing a countered offer declines the counter, and the buyer can't make a new offer on that product for 48 hours). Accepting an offer or a counter-offer immediately creates a confirmed order at the agreed price -- it does NOT charge any payment method, the buyer still completes payment themselves afterwards through the normal flow, exactly like after orders.place. Requires a signed-in Resollo user (OAuth sign-in, or an 'Authorization: Bearer ' header).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"offer_id": "<offer_id>",
"action": "<action>"
},
"name": "offers.respond"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Seller actions on a pending offer: accept | reject | counter (counter_price required). Buyer actions: accept_counter on a countered offer; withdraw on a pending or countered offer (declines a counter). After a withdrawal the buyer can't make a new offer on the same product for 48 hours. | |
| offer_id | Yes | The uuid of the offer to respond to. | |
| counter_price | No | The seller's counter-offer price. Required when action is `counter`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| offer_id | Yes |