Skip to content

Commit 472f6b5

Browse files
committed
update entitlement_ids and sku_ids
1 parent a8cac29 commit 472f6b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/monetization/Implementing_App_Subscriptions.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ When a user subscribes to a new subscription, you will receive the following eve
110110
|-----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
111111
| `SUBSCRIPTION_CREATE` | when the subscription is initially created. `status` is `0 (active)` if the entitlement has been granted or `1 (ending)` if the entitlement has not yet been granted. |
112112
| `ENTITLEMENT_CREATE` | when the user is granted an entitlement for the new subscription |
113-
| `SUBSCRIPTION_UPDATE` | when the subscription is updated with the `entitlement_id`, `sku_id`, and `status` (`0 (active)`) |
113+
| `SUBSCRIPTION_UPDATE` | when the subscription is updated with the `entitlement_ids`, `renewal_sku_ids`, and `status` (`0 (active)`) |
114114

115115
### Cancelling an existing subscription
116116

@@ -159,7 +159,7 @@ When the subscription is upgraded, the current entitlement for the lower tier wi
159159
|-----------------------|------------------------------------------------------------------------------------------------------------------------|
160160
| `ENTITLEMENT_UPDATE` | when the current entitlement ends. `ends_at` gets updated with a timestamp |
161161
| `ENTITLEMENT_CREATE` | when a new entitlement is created for the upgrade subscription SKU |
162-
| `SUBSCRIPTION_UPDATE` | when the subscription is updated with the new `entitlement_id`, `sku_id`, `current_period_start`, `current_period_end` |
162+
| `SUBSCRIPTION_UPDATE` | when the subscription is updated with the new `entitlement_ids`, `sku_ids`, `current_period_start`, `current_period_end` |
163163

164164

165165
### Downgrading an existing subscription
@@ -178,7 +178,7 @@ Once the user's current subscription expires on `subscription.current_period_end
178178
|-----------------------|------------------------------------------------------------------------------------------------------------------------|
179179
| `ENTITLEMENT_UPDATE` | when the current entitlement ends. `ends_at` gets updated with a timestamp |
180180
| `ENTITLEMENT_CREATE` | when a new entitlement is created for the downgraded subscription SKU |
181-
| `SUBSCRIPTION_UPDATE` | when the subscription is updated with the new `entitlement_id`, `sku_id`, `current_period_start`, `current_period_end` |
181+
| `SUBSCRIPTION_UPDATE` | when the subscription is updated with the new `entitlement_ids`, `sku_ids`, `current_period_start`, `current_period_end` |
182182

183183
---
184184

0 commit comments

Comments
 (0)