API reference
Shop Sets_list
GET
shopApiKeyheader
AuthorizationBearer <token>The shop's API key.
page?integerRange
1 <= value <= 9007199254740991Default
1pageSize?integerRange
1 <= value <= 200Default
20sort?stringDefault
"name"Value in
"name""-name""createdAt""-createdAt"search?stringLength
length <= 200name?stringLength
1 <= length <= 200ids?stringwithCatalogCardCount?stringtrue: each row has the count of its catalog cards. Else the count is null
categoryId?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
uuidapplication/json- response
data*array<>meta*curl -X GET 'https://api-stg.grailnetwork.com/shop/sets'Example Response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "category": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "catalogCardCount": 0 } ], "meta": { "page": 1, "pageSize": 1, "total": 0 }}