Skip to main content

playerOffers

Retrieve the offers a player has engaged with, both in-progress and completed.

Unlike offers, this query is deliberately not cached per player. Completion is the moment a player looks at this screen, so a cached result would go stale on the one event the query exists to report.

Results are sorted by engagement time, newest first, and paginated with an opaque cursor.

playerOffers(
player_id: String!
language: String
limit: Int! = 50
after: String
): PlayerOffers

Arguments

playerOffers.player_id ● String! non-null scalar

Unique identifier of the player/user in your app. Must be 255 characters or fewer.

playerOffers.language ● String scalar

The language to use for the offer content. Behaves exactly as it does on the offers query: ISO codes, falling back to 'en' when absent or unsupported.

playerOffers.limit ● Int! non-null scalar

The maximum number of offers to return in a single page.

Example: 50

playerOffers.after ● String scalar

Opaque cursor taken from a previous response's next_cursor. Omit it to fetch the first page.

Type

PlayerOffers object

A page of the offers a player has engaged with.