shops
Resolves shops that currently list at least one event.
Shops whose events are all past or hidden are left out entirely. No authorization is required.
The first argument sets the page size and defaults to 10; passing 0 resolves an empty list. To read the next
page, pass the Shop.slug of the last shop of the previous page as after — that shop and everything before it
is skipped. Omit after for the first page.
There is no total count and no PageInfo here: a page holding fewer shops than requested is the last one. The
after argument must be a current Shop.slug; a slug that no shop currently uses resolves an empty list, even
if it is a slug that shop used before.
query GetShops($after: ID) { shops(first: 20, after: $after) { slug name } }query GetShops($after: ID) { shops(first: 20, after: $after) { slug name } }
Arguments
| Argument | Description | Type |
|---|---|---|
| first | Int | |
| after | ID |
Type
This field resolves to [ Shop ].