Update order status
Move one of your orders to the next status and tell the buyer.
PATCH https://cotlet.dev/api/v1/discogs/orders/{order_id}/status
write Confirm
Changes the order status, adds the tracking number and sends the message with it. Only the seller can change a status, and Discogs allows it for 90 days. The buyer is notified. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| order_id string required | string | Order ID from list_orders, e.g. '1234567-89'. |
| status string required | string | In Progress or Shipped. A status cannot go back. |
| tracking_number string | string | Tracking number, for Shipped. |
| message string | string | Message shown to the buyer with the change. |
Request
curl -X PATCH https://cotlet.dev/api/v1/discogs/orders/1234567-89/status \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"status":"Shipped","tracking_number":"RB123456789GB","message":"Shipped today, tracking number is on the order page."}' result = client.call("discogs", "update_order_status", {"order_id":"1234567-89","status":"Shipped","tracking_number":"RB123456789GB","message":"Shipped today, tracking number is on the order page."}) const result = await cotlet.call('discogs', 'update_order_status', {"order_id":"1234567-89","status":"Shipped","tracking_number":"RB123456789GB","message":"Shipped today, tracking number is on the order page."}); cotlet call discogs update_order_status --data '{"order_id":"1234567-89","status":"Shipped","tracking_number":"RB123456789GB","message":"Shipped today, tracking number is on the order page."}' Example response
{
"order_id": "1234567-89",
"previous_status": "Payment Received",
"status": "Shipped",
"tracking_number": "RB123456789GB",
"message_sent": true
}