Skip to Content
Grail Network
API reference

Shop Packs_list History

GET
/shop/packs/{packId}/history

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 <= 200
Default20
kind?string
Value in"version""card""stock""state"

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/history'
Example Response
{  "data": [    {      "kind": "version",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "createdAt": "2019-08-24T14:15:22Z",      "versionNumber": -9007199254740991,      "cause": "person",      "changedSettings": [        "price"      ],      "itemId": "f11b669d-7201-4c21-88af-d85092f0c005",      "cardName": "string",      "change": "filled",      "price": {        "amountAtomic": "string",        "currency": "string"      },      "inStock": true,      "reason": "disabled",      "ev": {        "amountAtomic": "string",        "currency": "string"      },      "note": "string"    }  ],  "meta": {    "page": 1,    "pageSize": 1,    "total": 0  }}