Skip to Content
Grail Network
API reference

Shop Packs_list Items

GET
/shop/packs/{packId}/items

Authorization

shopApiKey
headerAuthorizationBearer <token>

The shop's API key.

Path Parameters

packId*string
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

Query Parameters

page?integer
Range1 <= value <= 9007199254740991
Default1
pageSize?integer
Range1 <= value <= 100
Default20
tierId?string
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
pinned?string

Response Body

application/json
  1. response
data*array<>
meta*
Example Request
curl -X GET 'https://api-stg.grailnetwork.com/shop/packs/497f6eca-6276-4993-bfeb-53cbbbba6f08/items'
Example Response
{  "data": [    {      "itemId": "f11b669d-7201-4c21-88af-d85092f0c005",      "cardName": "string",      "cardNumber": "string",      "setName": "string",      "categoryName": "string",      "gradeName": "string",      "conditionName": "string",      "frontPictureUrl": "string",      "price": {        "amountAtomic": "string",        "currency": "string"      },      "tierIds": [        "5060699c-6177-4182-9322-32f6a4e9a958"      ],      "pinned": true,      "inPack": true    }  ],  "meta": {    "page": 1,    "pageSize": 1,    "total": 0  }}