API reference
Shop Categories_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
application/json- response
data*array<>meta*curl -X GET 'https://api-stg.grailnetwork.com/shop/categories'Example Response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "catalogCardCount": 0 } ], "meta": { "page": 1, "pageSize": 1, "total": 0 }}