Skip to content

Commit e70f3ce

Browse files
authored
Entitlement: Update ends_at and starts_at to be nullable, not optional (#7288)
* Update ends_at and starts_at to be nullable, not optional * Fix ends_at, starts_at description for test entitlements
1 parent 4dc8cda commit e70f3ce

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/resources/Entitlement.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ Refer to the [Monetization Overview](#DOCS_MONETIZATION_OVERVIEW) for more infor
1212

1313
###### Entitlement Structure
1414

15-
| Field | Type | Description |
16-
|----------------|-------------------|---------------------------------------------------------------------------------------------|
17-
| id | snowflake | ID of the entitlement |
18-
| sku_id | snowflake | ID of the SKU |
19-
| application_id | snowflake | ID of the parent application |
20-
| user_id? | snowflake | ID of the user that is granted access to the entitlement's sku |
21-
| type | integer | [Type of entitlement](#DOCS_RESOURCES_ENTITLEMENT/entitlement-object-entitlement-types) |
22-
| deleted | boolean | Entitlement was deleted |
23-
| starts_at? | ISO8601 timestamp | Start date at which the entitlement is valid. Not present when using test entitlements. |
24-
| ends_at? | ISO8601 timestamp | Date at which the entitlement is no longer valid. Not present when using test entitlements. |
25-
| guild_id? | snowflake | ID of the guild that is granted access to the entitlement's sku |
26-
| consumed? | boolean | For consumable items, whether or not the entitlement has been consumed |
15+
| Field | Type | Description |
16+
|----------------|--------------------|-----------------------------------------------------------------------------------------|
17+
| id | snowflake | ID of the entitlement |
18+
| sku_id | snowflake | ID of the SKU |
19+
| application_id | snowflake | ID of the parent application |
20+
| user_id? | snowflake | ID of the user that is granted access to the entitlement's sku |
21+
| type | integer | [Type of entitlement](#DOCS_RESOURCES_ENTITLEMENT/entitlement-object-entitlement-types) |
22+
| deleted | boolean | Entitlement was deleted |
23+
| starts_at | ?ISO8601 timestamp | Start date at which the entitlement is valid. |
24+
| ends_at | ?ISO8601 timestamp | Date at which the entitlement is no longer valid. |
25+
| guild_id? | snowflake | ID of the guild that is granted access to the entitlement's sku |
26+
| consumed? | boolean | For consumable items, whether or not the entitlement has been consumed |
2727

2828
###### Entitlement Example
2929

0 commit comments

Comments
 (0)