API reference
Shop Packs_list History
GET
shopApiKeyheader
AuthorizationBearer <token>The shop's API key.
packId*stringMatch
^([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)$Format
uuidpage?integerRange
1 <= value <= 9007199254740991Default
1pageSize?integerRange
1 <= value <= 200Default
20kind?stringValue in
"version""card""stock""state"application/json- response
data*array<>meta*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 }}