Skip to content

Get Entitlement Events

GET
/inventory/v1/entitlement-event

Get entitlement events for a player. If no player is provided, all events will be returned.

Required Permissions:

  • For any player (including themselves) any of: inv:*, inv:entitlement_event:read

Authorizations

Parameters

Query Parameters

player_uuid

Player to get entitlement events for

string format: uuid

Player to get entitlement events for

player_id
deprecated

Player to get entitlement events for. Will be ignored if player_uuid is provided

integer

Player to get entitlement events for. Will be ignored if player_uuid is provided

cursor

Cursor for pagination

string
<= 255 characters

Cursor for pagination

Responses

200

Successful Response

object
events
required

The list of events

Array<object>
object
event_id
required

The unique identifier for the event

string
action_type
required

The type of the event

string
Allowed values: grant refund chargeback chargeback_reversal
entitlement_type

The type of entitlement when the event occurred

string
Allowed values: consumable durable durable_single_use
status
required

The status of the event

string
Allowed values: success sku_not_found not_implemented player_not_found
player_uuid
required

The player UUID for the event

string format: uuid
player_id

The player ID for the event

integer
platform
required

The platform for the event

string
Allowed values: Anon Basic XboxLive PSN NintendoNAID NintendoSwitch NintendoPPID Google GooglePlay Apple Epic Steam Amazon Twitch RallyHere LegacyName
platform_user_id
required

The platform user ID for the event

string
<= 2048 characters
sku
required

The SKU for the event

string
<= 2048 characters
quantity
required

The quantity for the event

integer
platform_transaction_id

The external transaction ID for the event

string
<= 4096 characters
platform_data

The platform specific data for the event

object
order_id

The order ID for the event

string
loot_id

The loot ID for the event

integer
key_claim_uuid

The portal user key claim id

string format: uuid
created
required

Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone

string format: date-time
last_modified
required

Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone

string format: date-time
cursor

The cursor for the next page of events

string

403

Error Codes:

  • auth_invalid_key_id - Invalid Authorization - Invalid Key ID in Access Token
  • auth_invalid_version - Invalid Authorization - version
  • auth_malformed_access - Invalid Authorization - malformed access token
  • auth_not_jwt - Invalid Authorization
  • auth_token_expired - Token is expired
  • auth_token_format - Invalid Authorization - {}
  • auth_token_invalid_claim - Token contained invalid claim value: {}
  • auth_token_sig_invalid - Token Signature is invalid
  • auth_token_unknown - Failed to parse token
  • insufficient_permissions - Insufficient Permissions
object
auth_success
boolean
default: true
error_code
required
string
desc
required
string

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string