Skip to content

Commit

Permalink
Merge pull request #74 from Moesif/added-readme-for-items
Browse files Browse the repository at this point in the history
added example for items
  • Loading branch information
xinghengwang authored Dec 2, 2024
2 parents 5860f8c + 20b6a64 commit 9f50dcc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/includes/collector-api/_subscriptions-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ Replace <i>my_application_id</i> with your real Application Id
"current_period_start": "2024-10-21T17:32:28.000Z",
"current_period_end": "2024-11-21T17:32:28.000Z",
"status": "active",
"items": [{
"plan_id": "my_custom_plan"
}],
"metadata": {
"subscription_type": "PAYG",
"subscription_tier": "Pro",
Expand Down Expand Up @@ -156,6 +159,9 @@ curl --location 'https://api.moesif.net/v1/subscriptions/batch' \
"current_period_start": "2024-10-21T17:32:28.000Z",
"current_period_end": "2024-11-21T17:32:28.000Z",
"status": "active",
"items": [{
"plan_id": "my_custom_plan"
}],
"metadata": {
"subscription_type": "PAYG",
"subscription_tier": "Pro",
Expand Down

0 comments on commit 9f50dcc

Please sign in to comment.