Skip to main content

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": "60d27e3fb286b05bc891179a",
"id": 1.23,
"created": 1716893712217,
"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": 1708818047344,
"subtitle": "example",
"authors": [
"example"
],
"publisher": "example",
"publishedDate": 1733870311518,
"pageCount": 42,
"categories": [
"example"
],
"maturityRating": "example",
"language": "example",
"format": "example"
},
"handle": "example",
"bitly": "example",
"descriptions": {
"main": "example"
},
"listings": [
{
"_id": "5fb1cebc75dfa41a7d6a8277",
"id": 1.23,
"available": 1728462226964,
"preOrder": true,
"secondHand": true,
"categories": [
"example"
],
"onePerCustomer": true,
"comments": "example"
}
]
}
]
}

Arguments

NameTypeDescription
ids[Float]!Array of numeric item identifiers.

Returns

[Item!]!