curl --request PATCH \
--url https://{host}/v1/conversations/{conversationId}/messages/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "messages",
"id": "5512",
"attributes": {
"priceProposal": {
"status": "accepted"
}
}
}
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/vnd.api+json'},
body: JSON.stringify({
data: {
type: 'messages',
id: '5512',
attributes: {priceProposal: {status: 'accepted'}}
}
})
};
fetch('https://{host}/v1/conversations/{conversationId}/messages/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{host}/v1/conversations/{conversationId}/messages/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'data' => [
'type' => 'messages',
'id' => '5512',
'attributes' => [
'priceProposal' => [
'status' => 'accepted'
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/vnd.api+json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
url = "https://{host}/v1/conversations/{conversationId}/messages/{id}"
payload = { "data": {
"type": "messages",
"id": "5512",
"attributes": { "priceProposal": { "status": "accepted" } }
} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/vnd.api+json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"data": {
"type": "messages",
"id": "5512",
"attributes": {
"body": "Would you take €12.000 for this one?",
"author": "buyer",
"mine": false,
"removed": false,
"priceProposal": {
"amount": 1200000,
"currency": "EUR",
"shippingCosts": 2500,
"saving": 250000,
"savingPercentage": 17,
"from": "buyer",
"status": "accepted",
"state": null,
"payable": false,
"open": false,
"generatedBody": false,
"expiresAt": null,
"acceptedAs": "5513",
"checkoutUrl": null
},
"translatedBody": null,
"translationLocale": null,
"translationSourceLocale": null,
"translationPending": false,
"createdAt": "2026-09-25T12:02:11.000000Z"
},
"relationships": {
"attachments": {
"links": {
"related": "https://api.wristler.eu/v1/conversations/3390/messages/5512/attachments"
}
}
},
"links": {
"self": "https://api.wristler.eu/v1/conversations/3390/messages/5512"
}
}
}{
"errors": [
{
"status": "404",
"code": "watch_reserved",
"title": "Not Found",
"detail": "<string>",
"meta": {},
"source": {
"pointer": "/data/attributes/reference",
"parameter": "<string>"
}
}
],
"jsonapi": {
"version": "1.0"
}
}{
"errors": [
{
"status": "404",
"code": "watch_reserved",
"title": "Not Found",
"detail": "<string>",
"meta": {},
"source": {
"pointer": "/data/attributes/reference",
"parameter": "<string>"
}
}
],
"jsonapi": {
"version": "1.0"
}
}{
"errors": [
{
"status": "404",
"code": "watch_reserved",
"title": "Not Found",
"detail": "<string>",
"meta": {},
"source": {
"pointer": "/data/attributes/reference",
"parameter": "<string>"
}
}
],
"jsonapi": {
"version": "1.0"
}
}{
"errors": [
{
"status": "404",
"code": "watch_reserved",
"title": "Not Found",
"detail": "<string>",
"meta": {},
"source": {
"pointer": "/data/attributes/reference",
"parameter": "<string>"
}
}
],
"jsonapi": {
"version": "1.0"
}
}Answer offer
Scope: messages:write
{ "data": { "type": "messages", "id": "5512",
"attributes": { "priceProposal": { "status": "accepted" } } } }
The only update a message has, and it is not an edit. What was said stays exactly as it was sent; what changes is what the offer is. A body sent here is refused.
Only a buyer’s offer can be answered, and only while it is pending:
acceptedis the seller’s to send. Accepting sends the seller’s own proposal for that amount — binding, 48 hours, with the link the website uses — and answers the request withstatus: "accepted"andacceptedAs: "<message id>". That message is the payable one: it is whatPOST /v1/me/orderstakes as itsoffer, and where a “pay now” button goes. The request itself stayspayable: false.withdrawnis the buyer’s, on their own offer.refusedis not an answer. A seller declines in the conversation: in words, which leave the offerpending, or by sending a proposal of their own, which makes it lapse asexpired. Sendingrefusedanswers422 cannot_refuse; answering a lapsed offer answers409 offer_closedwithmeta.status: "expired".
A seller’s own offer is not answered this way: it stands until it expires or until they send another, and refusing one is simply not paying it.
| Refusal | Status | code |
|---|---|---|
| Not a buyer’s offer | 422 | not_an_offer |
refused: an offer is declined in the conversation | 422 | cannot_refuse |
| Already accepted, withdrawn or expired | 409 | offer_closed |
| The wrong side is asking | 403 | not_yours_to_answer |
| Accepting, while the watch is sold, offline or deleted | 422 | watch_not_for_sale |
| Accepting in a thread closed by a block, or with the buyer’s account blocked | 403 | conversation_blocked |
curl --request PATCH \
--url https://{host}/v1/conversations/{conversationId}/messages/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "messages",
"id": "5512",
"attributes": {
"priceProposal": {
"status": "accepted"
}
}
}
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/vnd.api+json'},
body: JSON.stringify({
data: {
type: 'messages',
id: '5512',
attributes: {priceProposal: {status: 'accepted'}}
}
})
};
fetch('https://{host}/v1/conversations/{conversationId}/messages/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{host}/v1/conversations/{conversationId}/messages/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'data' => [
'type' => 'messages',
'id' => '5512',
'attributes' => [
'priceProposal' => [
'status' => 'accepted'
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/vnd.api+json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
url = "https://{host}/v1/conversations/{conversationId}/messages/{id}"
payload = { "data": {
"type": "messages",
"id": "5512",
"attributes": { "priceProposal": { "status": "accepted" } }
} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/vnd.api+json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"data": {
"type": "messages",
"id": "5512",
"attributes": {
"body": "Would you take €12.000 for this one?",
"author": "buyer",
"mine": false,
"removed": false,
"priceProposal": {
"amount": 1200000,
"currency": "EUR",
"shippingCosts": 2500,
"saving": 250000,
"savingPercentage": 17,
"from": "buyer",
"status": "accepted",
"state": null,
"payable": false,
"open": false,
"generatedBody": false,
"expiresAt": null,
"acceptedAs": "5513",
"checkoutUrl": null
},
"translatedBody": null,
"translationLocale": null,
"translationSourceLocale": null,
"translationPending": false,
"createdAt": "2026-09-25T12:02:11.000000Z"
},
"relationships": {
"attachments": {
"links": {
"related": "https://api.wristler.eu/v1/conversations/3390/messages/5512/attachments"
}
}
},
"links": {
"self": "https://api.wristler.eu/v1/conversations/3390/messages/5512"
}
}
}{
"errors": [
{
"status": "404",
"code": "watch_reserved",
"title": "Not Found",
"detail": "<string>",
"meta": {},
"source": {
"pointer": "/data/attributes/reference",
"parameter": "<string>"
}
}
],
"jsonapi": {
"version": "1.0"
}
}{
"errors": [
{
"status": "404",
"code": "watch_reserved",
"title": "Not Found",
"detail": "<string>",
"meta": {},
"source": {
"pointer": "/data/attributes/reference",
"parameter": "<string>"
}
}
],
"jsonapi": {
"version": "1.0"
}
}{
"errors": [
{
"status": "404",
"code": "watch_reserved",
"title": "Not Found",
"detail": "<string>",
"meta": {},
"source": {
"pointer": "/data/attributes/reference",
"parameter": "<string>"
}
}
],
"jsonapi": {
"version": "1.0"
}
}{
"errors": [
{
"status": "404",
"code": "watch_reserved",
"title": "Not Found",
"detail": "<string>",
"meta": {},
"source": {
"pointer": "/data/attributes/reference",
"parameter": "<string>"
}
}
],
"jsonapi": {
"version": "1.0"
}
}Authorizations
Headers
Optional. A UUID per logical operation, not per attempt: a retry carrying the same key gets the first attempt's answer back, headers and all, rather than performing the write twice. Honoured for 24 hours.
A refusal is an answer. A 422 is remembered like any other, so sending a
corrected body under the same key answers 422 idempotency_key_reuse rather
than accepting the correction — the point of a key is that one key means one
decision. Use a new key for a new attempt at the request, and keep the old one
only for retrying the same bytes after a timeout.
A 5xx is the exception: nothing was decided, so the key is released and the
same one may be retried.
| Refusal | Status | code |
|---|---|---|
| The same key with a different body | 422 | idempotency_key_reuse |
| The first request with this key is still running | 409 | idempotency_in_progress |
| The key's record vanished between two requests: retry with a new key | 409 | idempotency_conflict |
| A key longer than 191 characters | 400 | idempotency_key_invalid |
A replayed answer carries Idempotent-Replay: true.
191