Skip to content

Commit 9f50dcc

Browse files
authored
Merge pull request #74 from Moesif/added-readme-for-items
added example for items
2 parents 5860f8c + 20b6a64 commit 9f50dcc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/includes/collector-api/_subscriptions-api.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ Replace <i>my_application_id</i> with your real Application Id
118118
"current_period_start": "2024-10-21T17:32:28.000Z",
119119
"current_period_end": "2024-11-21T17:32:28.000Z",
120120
"status": "active",
121+
"items": [{
122+
"plan_id": "my_custom_plan"
123+
}],
121124
"metadata": {
122125
"subscription_type": "PAYG",
123126
"subscription_tier": "Pro",
@@ -156,6 +159,9 @@ curl --location 'https://api.moesif.net/v1/subscriptions/batch' \
156159
"current_period_start": "2024-10-21T17:32:28.000Z",
157160
"current_period_end": "2024-11-21T17:32:28.000Z",
158161
"status": "active",
162+
"items": [{
163+
"plan_id": "my_custom_plan"
164+
}],
159165
"metadata": {
160166
"subscription_type": "PAYG",
161167
"subscription_tier": "Pro",

0 commit comments

Comments
 (0)