Publish an offer
publish_offerPublish an offer
Lists a draft whose health test and identity checks passed: it goes live within about a minute and is checked continuously from then on. Its key needs the seller's statement on record: pass statement (the version from the list_supply_presets tool) to accept it. A draft not ready yet, or a key without the statement, is a 409. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
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": {
"id": "<id>"
},
"name": "publish_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The offer id. | |
| statement | No | The statementVersion of GET /sell/presets: accepts the seller's statement for the offer's key, if it is not on record yet. | |
| idempotencyKey | No | Optional. A unique string so that repeating this call never creates twice. |