Skip to main content
Version: Next

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

ends_at

ends_at: null | string

Date at which the entitlement is no longer valid.

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

starts_at

starts_at: null | string

Start date at which the entitlement is valid.

type

Type of entitlement

optionaluser_id

user_id?: string

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