Generate Entitlement Event
POST /inventory/v1/entitlement-event
Create an entitlement event - this is used to bypass platform providers and grant entitlement events directly.
Required Permissions:
- For any player (including themselves) any of:
inv:*
,inv:entitlement_event:write
Authorizations
Request Body required
object
The type of the event
The status of the event
Override the player UUID for the event. If not provided, the active player for the platform user will be used
The platform for the event
The platform user ID for the event
The SKU for the event
The quantity for the event
The external transaction ID for the event
The platform specific data for the event
object
Responses
200
Successful Response
object
The unique identifier for the event
The type of the event
The type of entitlement when the event occurred
The status of the event
The player UUID for the event
The player ID for the event
The platform for the event
The platform user ID for the event
The SKU for the event
The quantity for the event
The external transaction ID for the event
The platform specific data for the event
object
The order ID for the event
The loot ID for the event
The portal user key claim id
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
403
Error Codes:
auth_invalid_key_id
- Invalid Authorization - Invalid Key ID in Access Tokenauth_invalid_version
- Invalid Authorization - versionauth_malformed_access
- Invalid Authorization - malformed access tokenauth_not_jwt
- Invalid Authorizationauth_token_expired
- Token is expiredauth_token_format
- Invalid Authorization - {}auth_token_invalid_claim
- Token contained invalid claim value: {}auth_token_invalid_type
- Invalid Authorization - Invalid Token Typeauth_token_sig_invalid
- Token Signature is invalidauth_token_unknown
- Failed to parse tokeninsufficient_permissions
- Insufficient Permissions
object
404
Error Codes:
object
409
Error Codes:
object
422
Validation Error