Skip to content

Commit 662e089

Browse files
committed
publish: Merge pull request #72 from Moesif/added-readme-for-items
generated from commit 2760695
1 parent 1f98fc0 commit 662e089

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

index.html

+58
Original file line numberDiff line numberDiff line change
@@ -6632,6 +6632,58 @@ <h4 id='create-vs-update'>Create vs update</h4>
66326632
<td>false</td>
66336633
<td>An object containing subscription demographics or other properties you want to store with this profile.</td>
66346634
</tr>
6635+
<tr>
6636+
<td>items</td>
6637+
<td>object[]</td>
6638+
<td>false</td>
6639+
<td>An array of items, each item represents an plan or price that the customer is subscribed to. See schema for subscription items below.</td>
6640+
</tr>
6641+
</tbody></table>
6642+
<h5 id='items-subscription-items'>items (Subscription Items)</h5>
6643+
<table><thead>
6644+
<tr>
6645+
<th>Name</th>
6646+
<th>Type</th>
6647+
<th>Required</th>
6648+
<th>Description</th>
6649+
</tr>
6650+
</thead><tbody>
6651+
<tr>
6652+
<td>plan_id</td>
6653+
<td>string</td>
6654+
<td><strong>true</strong></td>
6655+
<td>The unique identifier the plan the customer subscribed to.</td>
6656+
</tr>
6657+
<tr>
6658+
<td>subscription_item_id</td>
6659+
<td>string</td>
6660+
<td><strong>false</strong></td>
6661+
<td>The unique identifier for this item instance if available</td>
6662+
</tr>
6663+
<tr>
6664+
<td>price_id</td>
6665+
<td>string</td>
6666+
<td><strong>false</strong></td>
6667+
<td>The unique identify for the price the customer subscribed to.</td>
6668+
</tr>
6669+
<tr>
6670+
<td>unit_of_measure</td>
6671+
<td>string</td>
6672+
<td><strong>false</strong></td>
6673+
<td>the unit of measure.</td>
6674+
</tr>
6675+
<tr>
6676+
<td>created_at</td>
6677+
<td>string(date-time)</td>
6678+
<td><strong>false</strong></td>
6679+
<td>When this item is created.</td>
6680+
</tr>
6681+
<tr>
6682+
<td>metadata</td>
6683+
<td>object</td>
6684+
<td>false</td>
6685+
<td>An object containing additional data</td>
6686+
</tr>
66356687
</tbody></table>
66366688
<h3 id='update-subscriptions-in-batch'>Update Subscriptions in Batch</h3>
66376689
<p><strong><code>POST https://api.moesif.net/v1/subscriptions/batch</code></strong></p>
@@ -6752,6 +6804,12 @@ <h3 id='update-subscriptions-in-batch'>Update Subscriptions in Batch</h3>
67526804
<td>false</td>
67536805
<td>An object containing subscription demographics or other properties you want to store with this profile.</td>
67546806
</tr>
6807+
<tr>
6808+
<td>items</td>
6809+
<td>object[]</td>
6810+
<td>false</td>
6811+
<td>An array of items, each item represents an plan or price that the customer is subscribed to. See schema for items above.</td>
6812+
</tr>
67556813
</tbody></table>
67566814
<h2 id='config'>Config</h2><h3 id='get-config'>Get Config</h3>
67576815
<p><strong><code>GET https://api.moesif.net/v1/config</code></strong></p>

0 commit comments

Comments
 (0)