Message the buyer

Send a message to the buyer on an order.

POST https://cotlet.dev/api/v1/discogs/orders/{order_id}/message

write Confirm

Posts the message on the order page, where both you and the buyer see it, and returns the thread length. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: send_order_message
NameTypeDescription
order_id string required string Order ID from list_orders, e.g. '1234567-89'.
text string required string Message text.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/discogs/orders/1234567-89/message \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"text"}'
Python
result = client.call("discogs", "send_order_message", {"order_id":"1234567-89","text":"text"})
Node.js
const result = await cotlet.call('discogs', 'send_order_message', {"order_id":"1234567-89","text":"text"});
CLI
cotlet call discogs send_order_message --data '{"order_id":"1234567-89","text":"text"}'

Example response

JSON

{
  "order_id": "1234567-89",
  "sent": true,
  "messages_in_thread": 2
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.