Skip to Content
Grail Network
API reference

Shop Packs_get Version

GET
/shop/packs/{packId}/versions/{number}

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
number*integer
Range1 <= value <= 9007199254740991

Response Body

application/json
  1. response
data*
Example Request
curl -X GET 'https://api-stg.grailnetwork.com/shop/packs/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions/1'
Example Response
{  "data": {    "number": -9007199254740991,    "cause": "person",    "changedSettings": [      "price"    ],    "price": {      "amountAtomic": "string",      "currency": "string"    },    "minEv": {      "amountAtomic": "string",      "currency": "string"    },    "maxEv": {      "amountAtomic": "string",      "currency": "string"    },    "createdAt": "2019-08-24T14:15:22Z",    "grading": "any",    "setIds": [      "2b2b1882-988f-491b-855c-b513bf31a936"    ],    "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      }    ]  }}