Skip to main content

want Mutation

Description​

Adds an item to the user's wantlist.

mutation want($id: ID!) {
want(id: $id) {
_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​

{
"id": "8e8e0013f53489cb8a29f693"
}

Response​

{
"want": {
"_id": "610a2ebf05685dee99b83f82",
"id": "example",
"created": 1785179760118,
"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": 1761631744607,
"subtitle": "example",
"authors": [
"example"
],
"publisher": "example",
"publishedDate": 1761425456863,
"pageCount": 42,
"categories": [
"example"
],
"maturityRating": "example",
"language": "example",
"format": "example"
},
"handle": "example",
"bitly": "example",
"descriptions": {
"main": "example"
},
"listings": [
{
"_id": "8e50df87b3cf96899781b799",
"id": "example",
"available": 1779430530740,
"preOrder": true,
"secondHand": true,
"categories": [
"example"
],
"onePerCustomer": true,
"comments": "example"
}
]
}
}

Arguments​

NameTypeDescription
idID!Identifier for the item. Accepts legacy numeric values.

Returns​

Item