items Query
Description
Retrieves multiple items by their numeric IDs.
query items($ids: [Float]!) {
items(ids: $ids) {
_id
id
created
wanted
path
seo {
index
description
slug
title
}
uri
type
isForbiddenForSale
data {
title
cat
type
manufacturer
discogsId
assetLink
weight
genres
styles
country
releaseDate
subtitle
authors
publisher
publishedDate
pageCount
categories
maturityRating
language
format
}
handle
bitly
descriptions {
main
}
listings {
_id
id
available
preOrder
secondHand
categories
onePerCustomer
comments
}
}
}
Variables
{
"ids": [
30.7
]
}
Response
{
"items": [
{
"_id": "c584f70702b2055cad69ecea",
"id": 1.23,
"created": 1728949747951,
"wanted": true,
"path": "/release/1763553751/release-artist-release-name",
"seo": {
"index": true,
"description": "example",
"slug": "example",
"title": "example"
},
"uri": "https://www.my-common-ground-store.com/release/1763553751/release-artist-release-name",
"type": "example",
"isForbiddenForSale": true,
"data": {
"title": "example",
"cat": "example",
"type": "example",
"manufacturer": "example",
"discogsId": 987654321,
"assetLink": "example",
"weight": 1.23,
"genres": [
"example"
],
"styles": [
"example"
],
"country": "example",
"releaseDate": 1731305696911,
"subtitle": "example",
"authors": [
"example"
],
"publisher": "example",
"publishedDate": 1747984972592,
"pageCount": 42,
"categories": [
"example"
],
"maturityRating": "example",
"language": "example",
"format": "example"
},
"handle": "example",
"bitly": "example",
"descriptions": {
"main": "example"
},
"listings": [
{
"_id": "207b2bcfe41cdcf18d315c21",
"id": 1.23,
"available": 1722847378218,
"preOrder": true,
"secondHand": true,
"categories": [
"example"
],
"onePerCustomer": true,
"comments": "example"
}
]
}
]
}
Arguments
| Name | Type | Description |
|---|---|---|
ids | [Float]! | Array of numeric item identifiers. |
Returns
[Item!]!