discogsListing Query
Description
Retrieves a single Discogs inventory listing by its listing ID.
query discogsListing($listingId: String!) {
discogsListing(listingId: $listingId) {
id
release {
id
thumbnail
description
}
original_price {
value
currency
curr_abbr
formatted
}
location
condition
sleeve_condition
posted
uri
comments
privateComments
price {
value
currency
curr_abbr
formatted
}
path
exists
discrepancy
}
}
Variables
{
"listingId": "listingId"
}
Response
{
"discogsListing": {
"id": "example",
"release": {
"id": 5859945108135,
"thumbnail": "example",
"description": "example"
},
"original_price": {
"value": 1.23,
"currency": "example",
"curr_abbr": "example",
"formatted": "example"
},
"location": "example",
"condition": "example",
"sleeve_condition": "example",
"posted": "example",
"uri": "https://www.my-common-ground-store.com/release/1763553751/release-artist-release-name",
"comments": "example",
"privateComments": "example",
"price": {
"value": 1.23,
"currency": "example",
"curr_abbr": "example",
"formatted": "example"
},
"path": "/release/1763553751/release-artist-release-name",
"exists": true,
"discrepancy": true
}
}
Arguments
| Name | Type | Description |
|---|---|---|
listingId | String! | Discogs listing identifier. |