Get all subscription purchase events for a specific user subscription purchase
GET/organizations/:organizationId/projects/:projectId/platforms/android/users/:userId/subscriptions/:userSubscriptionPurchaseId/events
Get all subscription purchase events for a specific user subscription purchase
Request
Path Parameters
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The unique identifier of the subscription purchase event
The unique identifier of the user subscription purchase associated with the event
Possible values: [PURCHASE
, PURCHASE_PENDING
, ACKNOWLEDGE
, PAUSE
, CANCEL
, REVOKE
, START_GRACE_PERIOD
, HOLD
, EXPIRE
, PRICE_CHANGE
, DEFER
, CHANGE_PLAN
, RENEW
, RESTART
]
The type of the subscription purchase event
Possible values: [PENDING
, ACTIVE
, PAUSED
, CANCELED
, GRACE_PERIOD
, ON_HOLD
, EXPIRED
]
The status of the subscription purchase after the event
The purchase token of the subscription purchase before the event
The purchase token of the subscription purchase after the event
The base plan ID of the subscription purchase before the event
The base plan ID of the subscription purchase after the event
The offer ID of the subscription purchase before the event
The offer ID of the subscription purchase after the event
The timestamp when the event was created
The timestamp when the event was last updated
[
{
"id": "e7f4c2d8-f8d4-4f52-9e1c-e4d8f4c2d8f8",
"userSubscriptionId": "a1b2c3d4-e5f6-7g8h-9i0j-k1l2m3n4o5p6",
"type": "PURCHASE",
"status": "ACTIVE",
"oldPurchaseToken": "oldPurchaseToken123",
"newPurchaseToken": "newPurchaseToken456",
"oldBasePlanId": "oldBasePlanId789",
"newBasePlanId": "newBasePlanId012",
"oldOfferId": "oldOfferId345",
"newOfferId": "newOfferId678",
"createdAt": "2023-06-15T10:30:00.000Z",
"updatedAt": "2023-06-15T10:30:00.000Z"
}
]