List your inventory

List your own marketplace listings with price, status and release.

GET https://cotlet.dev/api/v1/discogs/inventories

read

Returns your listings with listing ID, release, condition, price and status. Pass a listing ID to update_listing_price. Needs a seller account with listings.

Parameters

Parameters: list_inventory
NameTypeDescription
status string string Listing status as Discogs names it, for example For Sale.
page integer integer Page number, starting at 1.

Request

cURL
curl https://cotlet.dev/api/v1/discogs/inventories \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("discogs", "list_inventory")
Node.js
const result = await cotlet.call('discogs', 'list_inventory');
CLI
cotlet call discogs list_inventory

Example response

JSON

{
  "listings": [
    {
      "listing_id": 1829374650,
      "release_id": 4417820,
      "title": "Night Drive / Blue Room",
      "media_condition": "Very Good Plus (VG+)",
      "price": 22,
      "currency": "USD",
      "status": "For Sale"
    }
  ],
  "page": 1,
  "pages": 1
}

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.