Skip to main content
Version: 0.37.110

RESTGetAPIEntitlementsQuery

Index

Properties

optionalafter

after?: string

Retrieve entitlements after this entitlement ID

optionalbefore

before?: string

Retrieve entitlements before this entitlement ID

optionalexclude_deleted

exclude_deleted?: boolean

Whether deleted entitlements should be omitted. Defaults to true, deleted entitlements are not included by default

optionalexclude_ended

exclude_ended?: boolean

Whether ended entitlements should be omitted. Defaults to false, ended entitlements are included by default

optionalguild_id

guild_id?: string

Guild ID to look up entitlements for

optionallimit

limit?: number

Number of entitlements to return (1-100)

@default

100

optionalsku_ids

sku_ids?: string

Optional list of SKU IDs to check entitlements for Comma-delimited set of snowflakes

optionaluser_id

user_id?: string

User ID to look up entitlements for