Skip to Content
Grail Network
API reference

Shop Packs_list

GET
/shop/packs

Authorization

shopApiKey
headerAuthorizationBearer <token>

The shop's API key.

Query Parameters

page?integer
Range1 <= value <= 9007199254740991
Default1
pageSize?integer
Range1 <= value <= 200
Default20
categoryId?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
inStock?string
used?string
owner?string
Value in"grail""shop"
state?string
Value in"archived""waiting_for_approval""disabled""off_sale""on_sale"

Response Body

application/json
  1. response
data*array<>
meta*
Example Request
curl -X GET 'https://api-stg.grailnetwork.com/shop/packs'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "categoryId": "337f5e5d-288b-40d5-be14-901cc3acacc0",      "version": -9007199254740991,      "price": {        "amountAtomic": "string",        "currency": "string"      },      "ev": {        "amountAtomic": "string",        "currency": "string"      },      "minEv": {        "amountAtomic": "string",        "currency": "string"      },      "maxEv": {        "amountAtomic": "string",        "currency": "string"      },      "inStock": true,      "state": "archived",      "slots": [        {          "position": -9007199254740991,          "tiers": [            {              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",              "position": -9007199254740991,              "name": "string",              "chancePpb": -9007199254740991,              "minPrice": {                "amountAtomic": "string",                "currency": "string"              },              "maxPrice": {                "amountAtomic": "string",                "currency": "string"              }            }          ]        }      ],      "featuredCards": [        {          "position": -9007199254740991,          "itemId": "f11b669d-7201-4c21-88af-d85092f0c005",          "oddsPpb": -9007199254740991,          "available": true,          "price": {            "amountAtomic": "string",            "currency": "string"          },          "cardName": "string",          "cardNumber": "string",          "setName": "string",          "categoryName": "string",          "gradeName": "string",          "conditionName": "string",          "frontPictureUrl": "string"        }      ]    }  ],  "meta": {    "page": 1,    "pageSize": 1,    "total": 0  }}