diff --git a/external_subscription.go b/external_subscription.go index 2b6f059..4ddb26d 100644 --- a/external_subscription.go +++ b/external_subscription.go @@ -31,6 +31,9 @@ type ExternalSubscription struct { // The id of the subscription in the external systems., I.e. Apple App Store or Google Play Store. ExternalId string `json:"external_id,omitempty"` + // Universally Unique Identifier created automatically. + Uuid string `json:"uuid,omitempty"` + // When a new billing event occurred on the external subscription in conjunction with a recent billing period, reactivation or upgrade/downgrade. LastPurchased time.Time `json:"last_purchased,omitempty"` diff --git a/openapi/api.yaml b/openapi/api.yaml index 5b14ea9..9b0e9a5 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -16743,8 +16743,9 @@ components: external_subscription_id_fetch: name: external_subscription_id in: path - description: External subscription ID or external_id. For ID no prefix is used - e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g. `external-id-123456`. + description: External subscription ID, external_id or uuid. For ID no prefix + is used e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g. + `external-id-123456` and for uuid use prefix `uuid-` e.g. `uuid-7293239bae62777d8c1ae044a9843633`. required: true schema: type: string @@ -25100,6 +25101,10 @@ components: title: External Id description: The id of the subscription in the external systems., I.e. Apple App Store or Google Play Store. + uuid: + type: string + title: Uuid + description: Universally Unique Identifier created automatically. last_purchased: type: string format: date-time