← Back to EcomCentral
DISCOGS MARKETPLACE API

Discogs Setup Guide

Connect your Discogs seller account to EcomCentral using a Personal Access Token — no OAuth app required.

Prerequisites

ℹ️ Discogs uses token-based auth: every request sends Authorization: Discogs token={your_token}. The token is tied to your user account — it has full read/write access to your marketplace.

Getting Your API Credentials

  1. Log in to discogs.com
  2. Go to discogs.com/settings/developers
  3. Click Generate new token under Personal Access Tokens
  4. Copy the token — it is shown only once, so save it securely
  5. Note your username (visible in your Discogs profile URL: discogs.com/user/username)
  6. In EcomCentral, add a new Discogs connection and enter both fields
  7. Click ⚡ Test to verify — should return your Discogs username
⚠️ Treat the Personal Access Token like a password. Anyone with the token can read and modify your Discogs marketplace listings and orders.

Credentials Reference

KeyRequiredDescriptionExample
token Required Personal Access Token from discogs.com/settings/developers AbCdEfGhIjKlMnOp
username Required Your Discogs username (used for inventory endpoint) vinyl_dave
✅ Alternative key names accepted: access_token or personal_token for the token; user for the username.

API Endpoints Used

OperationMethodEndpoint
Test connection / identityGET/oauth/identity
List ordersGET/marketplace/orders?page=P&per_page=N&status=All
Order detailGET/marketplace/orders/{id}
Send tracking (as message)POST/marketplace/orders/{id}/messages
Update order statusPOST/marketplace/orders/{id}
List inventory (For Sale)GET/users/{username}/inventory?page=P&per_page=N&status=For+Sale
Listing detailGET/marketplace/listings/{id}
ℹ️ List endpoints use { orders: [...], pagination: { items: N } } for orders and { listings: [...], pagination: { items: N } } for inventory.

Supported Features

FeatureSupportedNotes
View orders (paginated)Order ID, date, status, total (value + currency)
View order detailBuyer username, shipping address, items, message history
Send trackingPosts a marketplace message + sets status to Shipped
Update order statusFull list of Discogs order statuses (New Order → Shipped → Refund Sent, etc.)
View inventory / listingsShows "For Sale" listings with release info, price, condition
View listing detailFull release metadata: artist, title, year, format, label, genre, styles
Update stock / quantityNot supported by Discogs API — each listing is 1 unit; list a new listing to add stock
Test connectionReturns username and consumer name from /oauth/identity

Order Status Values

These are the valid statuses for the Update Status action:

StatusMeaning
New OrderBuyer has placed the order
Buyer ContactedYou have reached out to the buyer
Invoice SentInvoice has been sent (for payment outside Discogs)
Payment PendingAwaiting payment
Payment ReceivedPayment confirmed, preparing to ship
ShippedItem dispatched — also set automatically by Send Tracking
Refund SentRefund has been issued
Cancelled (Non-Paying Buyer)Buyer did not pay
Cancelled (Item Unavailable)Listing was sold elsewhere or lost
Cancelled (Per Buyer's Request)Buyer asked to cancel

Discogs Condition Grades

Condition codes appear in listing detail for both the media and sleeve:

GradeFull NameDescription
MMintPerfect, never played
NM / M-Near MintNearly perfect, minimal signs of handling
VG+Very Good PlusShows some signs of play but sounds great
VGVery GoodSome background noise, visible marks
G+Good PlusHeavy wear, playable
GGoodSignificant damage, plays through
FFairVery heavy damage
PPoorBarely playable, collectible only

Troubleshooting

✕ 401 Unauthorized on identity check

The Personal Access Token is invalid or has been revoked. Go to discogs.com/settings/developers, revoke the old token, generate a new one, and update the credentials via Rotate Keys in EcomCentral.

✕ Inventory returns empty but you have listings

Only listings with status For Sale are shown. Drafts or listings in other states are excluded. If the username is wrong, the inventory endpoint will return an empty set without an error — double-check the username credential.

✕ Tracking message sends but status doesn't update

The Send Tracking action posts a marketplace message AND attempts to set the status to Shipped. If the order is already in a terminal state (e.g. Cancelled), Discogs will reject the status change. Use Update Status to correct state first.