Skip to main content
Version: 0.37.92

APIEntitlement

Index

Properties

application_id

application_id: string

ID of the parent application

optionalconsumed

consumed?: boolean

For consumable items, whether or not the entitlement has been consumed

deleted

deleted: boolean

Whether the entitlement was deleted

optionalends_at

ends_at?: string

Date at which the entitlement is no longer valid. Not present when using test entitlements.

optionalguild_id

guild_id?: string

ID of the guild that is granted access to the entitlement’s sku

id

id: string

ID of the entitlement

sku_id

sku_id: string

ID of the SKU

optionalstarts_at

starts_at?: string

Start date at which the entitlement is valid. Not present when using test entitlements.

type

Type of entitlement

optionaluser_id

user_id?: string

ID of the user that is granted access to the entitlement’s sku