Skip to Content
Grail Network
API reference

Read one of your cards

One card with its state, its prices, its buyer facts while a buyer holds it, its sale and its take-back request. Errors: - 404 `PARTNER_ITEM_NOT_FOUND`: you have no card with this id. - 503 `SERVICE_UNAVAILABLE` with the header `Retry-After: 5`: a system that this request needs gave no answer. Send the same request again after 5 seconds.

GET
/partner/items/{itemId}

One card with its state, its prices, its buyer facts while a buyer holds it, its sale and its take-back request.

Errors:

  • 404 PARTNER_ITEM_NOT_FOUND: you have no card with this id.
  • 503 SERVICE_UNAVAILABLE with the header Retry-After: 5: a system that this request needs gave no answer. Send the same request again after 5 seconds.

Authorization

partnerApiKey
headerAuthorizationBearer <token>

The partner's API key.

Path Parameters

itemId*string

The card's id at Grail Network

Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Response Body

application/json
  1. response
data*
Example Request
curl -X GET 'https://api-stg.grailnetwork.com/partner/items/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "data": {    "itemId": "f11b669d-7201-4c21-88af-d85092f0c005",    "reference": "string",    "receivedAt": "2019-08-24T14:15:22Z",    "card": {      "name": "string",      "setName": "string",      "categoryName": "string",      "number": "string",      "gradeName": "string"    },    "frontPictureUrl": "string",    "state": "available",    "marketPrice": {      "amountAtomic": "string",      "currency": "string"    },    "priceAdjustment": "string",    "price": {      "amountAtomic": "string",      "currency": "string"    },    "pulledAt": "2019-08-24T14:15:22Z",    "priceAtPull": {      "amountAtomic": "string",      "currency": "string"    },    "buybackOfferEndsAt": "2019-08-24T14:15:22Z",    "soldAt": "2019-08-24T14:15:22Z",    "takeBack": {      "state": "requested",      "requestedAt": "2019-08-24T14:15:22Z",      "noticeEndsAt": "2019-08-24T14:15:22Z",      "completedAt": "2019-08-24T14:15:22Z"    },    "changedAt": "2019-08-24T14:15:22Z"  }}