want Mutation
Description
Adds an item to the user's wantlist.
mutation want($id: Float!) {
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": 30.7
}
Response
{
"want": {
"_id": "3877acef445144f56fdf7712",
"id": 1.23,
"created": 1729943959818,
"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": 1765479789341,
"subtitle": "example",
"authors": [
"example"
],
"publisher": "example",
"publishedDate": 1716716974985,
"pageCount": 42,
"categories": [
"example"
],
"maturityRating": "example",
"language": "example",
"format": "example"
},
"handle": "example",
"bitly": "example",
"descriptions": {
"main": "example"
},
"listings": [
{
"_id": "a5d9ac450a824a0b5207d1f3",
"id": 1.23,
"available": 1762416277930,
"preOrder": true,
"secondHand": true,
"categories": [
"example"
],
"onePerCustomer": true,
"comments": "example"
}
]
}
}
Arguments
| Name | Type | Description |
|---|---|---|
id | Float! | Numeric identifier for the item. |