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

Parameters: update_order_status
NameTypeDescription
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
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."}'
Python
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."})
Node.js
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."});
CLI
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

JSON

{
  "order_id": "1234567-89",
  "previous_status": "Payment Received",
  "status": "Shipped",
  "tracking_number": "RB123456789GB",
  "message_sent": true
}

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.