Skip to content

APISKU

https://docs.discord.com/developers/monetization/skus#sku-object-sku-structure Some fields below only show up in real payloads and the example response, they are kept optional here. https://docs.discord.com/developers/resources/sku#sku-object-sku-example

Signature

export interface APISKU

Properties

name: string;

Customer-facing name of your premium offering

slug: string;

System-generated URL slug based on the SKU's name

flags: SKUFlags;

SKU flags combined as a bitfield See https://en.wikipedia.org/wiki/Bit_field

dependent_sku_id?: Snowflake | null;

ID of the SKU this SKU depends on, if any. https://docs.discord.com/developers/resources/sku#sku-object-sku-example

access_type?: number;

Access type for this SKU. https://docs.discord.com/developers/resources/sku#sku-object-sku-example

manifest_labels?: string[] | null;

Labels from the app manifest for this SKU, if any. https://docs.discord.com/developers/resources/sku#sku-object-sku-example

features?: string[];

Feature identifiers attached to this SKU. https://docs.discord.com/developers/resources/sku#sku-object-sku-example

release_date?: string | null;

Release date for this SKU, if Discord provided one. https://docs.discord.com/developers/resources/sku#sku-object-sku-example

premium?: boolean;

Whether this SKU is tied to Discord premium content. https://docs.discord.com/developers/resources/sku#sku-object-sku-example

show_age_gate?: boolean;

Whether Discord shows an age gate for this SKU. https://docs.discord.com/developers/resources/sku#sku-object-sku-example