Skip to main content

discogsOrders Query

Description

Retrieves a paginated page of orders from Discogs.

query discogsOrders($page: Int!) {
discogsOrders(page: $page) {
orders {
id
uri
status
next_status
created
shipping_address
additional_instructions
archived
last_activity
imported
}
pagination {
limit
count
page
pages
hasMore
}
}
}

Variables

{
"page": 1
}

Response

{
"discogsOrders": {
"orders": [
{
"id": "example",
"uri": "https://www.my-common-ground-store.com/release/1763553751/release-artist-release-name",
"status": "example",
"next_status": [
"example"
],
"created": 1704023477042,
"shipping_address": "example",
"additional_instructions": "example",
"archived": true,
"last_activity": 1760638106019,
"imported": true
}
],
"pagination": {
"limit": 20,
"count": 10,
"page": 1,
"pages": 1,
"hasMore": true
}
}
}

Arguments

NameTypeDescription
pageInt!Page number to retrieve. Page numbering starts at 1.

Returns

DiscogsOrdersPage