Skip to content

Commit 7abb40a

Browse files
Update the source of the value for offer_code in events to the SK2 endpoint (#926)
1 parent a960c00 commit 7abb40a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/integrations/webhooks/event-types-and-fields.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ If we have to retry a webhook for any reason, the retry will have the same `id`
8888
| `transferred_from` | String[] | This field is only available when `type` is set to `TRANSFER`. App User ID(s) that transactions and entitlements are being taken from, and granted to `transferred_to`. | |
8989
| `transferred_to` | String[] | This field is only available when `type` is set to `TRANSFER`. App User ID(s) that are receiving the transactions and entitlements taken from `transferred_from`. | |
9090
| `country_code` | String | The ISO 3166 country code that the product was purchased in. The two-letter country code (e.g., US, GB, CA) of the app user's location (this country code is derived from the last seen request from the SDK for the subscriber.) | `US`, `CA`, etc. |
91-
| `offer_code` | String | Not available when `type` is set to `SUBSCRIBER_ALIAS` or `TRANSFER`. The offer code that the customer used to redeem the transaction. Available for App Store and Play Store. For App Store this property corresponds to the [`offer_code_ref_name`](https://developer.apple.com/documentation/appstorereceipts/offer_code_ref_name). For Play Store this corresponds to the [`promotionCode`](https://developers.google.com/android-publisher/api-ref/rest/v3/purchases.subscriptions). Can be null if no offer code was used for this product. | |
91+
| `offer_code` | String | Not available when `type` is set to `SUBSCRIBER_ALIAS` or `TRANSFER`. The offer code that the customer used to redeem the transaction. Available for App Store and Play Store. For App Store this property corresponds to the [`offerIdentifier`](https://developer.apple.com/documentation/appstoreserverapi/offeridentifier). For Play Store this corresponds to the [`promotionCode`](https://developers.google.com/android-publisher/api-ref/rest/v3/purchases.subscriptions). Can be null if no offer code was used for this product. | |
9292
| `renewal_number` | Integer | The number of renewals that this subscription has already gone through. Always starts at 1. Trial conversions are counted as renewals. `is_trial_conversion` is used to signify whether a transaction was a trial conversion. | |
9393

9494
:::info Determine trial and subscription duration

0 commit comments

Comments
 (0)