Core GraphQL APIReferenceQueries
Links__link Clicks
Platform admin only.
QUERY
links__linkClicks(linkId: String!, params: [LinkFilterParamInput!], realOnly: Boolean, where: CommonPaginationDto): LinkClicksWithPagination!Platform admin only.
Arguments
linkId*String!params?realOnly?Booleanwhere?Returns
- links__linkClicks
meta?nodes?Example Request
query Links__linkClicks($linkId: String!) { links__linkClicks(linkId: $linkId) { meta { currentPage hasNextPage totalCount totalPages } nodes { _id createdAt device { browser model os type vendor } ip jsConfirmed language linkId location { city country latitude longitude region timezone } network referrer } }}{ "linkId": "string"}{ "data": { "links__linkClicks": { "meta": { "currentPage": 10.5, "hasNextPage": true, "totalCount": 10.5, "totalPages": 10.5 }, "nodes": [ { "_id": "1", "createdAt": "<DateTime>", "device": { "browser": "string", "model": "string", "os": "string", "type": "string", "vendor": "string" }, "ip": "string", "jsConfirmed": true, "language": "string", "linkId": "string", "location": { "city": "string", "country": "string", "latitude": 10.5, "longitude": 10.5, "region": "string", "timezone": "string" }, "network": "string", "referrer": "string" } ] } }}Inventory__variant Templates QUERY
Only variant templates that the user has access to will be returned. Requires a signed-in staff user. Needs the `inventory__VariantTemplate` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Links__link Meta Values QUERY
Platform admin only.