1+ # Invoice
2+
3+ Types:
4+
5+ - <code ><a href =" ./src/resources/invoice.ts " >InvoiceRetrieveResponse</a ></code >
6+ - <code ><a href =" ./src/resources/invoice.ts " >InvoiceListResponse</a ></code >
7+
8+ Methods:
9+
10+ - <code title =" get /api/v1/invoice/{id} " >client.invoice.<a href =" ./src/resources/invoice.ts " >retrieve</a >(id) -> InvoiceRetrieveResponse</code >
11+ - <code title =" get /api/v1/invoices " >client.invoice.<a href =" ./src/resources/invoice.ts " >list</a >({ ...params }) -> InvoiceListResponse</code >
12+
13+ # InvoiceLineItems
14+
15+ Types:
16+
17+ - <code ><a href =" ./src/resources/invoice-line-items.ts " >InvoiceLineItemRetrieveResponse</a ></code >
18+ - <code ><a href =" ./src/resources/invoice-line-items.ts " >InvoiceLineItemListResponse</a ></code >
19+
20+ Methods:
21+
22+ - <code title =" get /api/v1/invoice-line-item/{id} " >client.invoiceLineItems.<a href =" ./src/resources/invoice-line-items.ts " >retrieve</a >(id) -> InvoiceLineItemRetrieveResponse</code >
23+ - <code title =" get /api/v1/invoice-line-items " >client.invoiceLineItems.<a href =" ./src/resources/invoice-line-items.ts " >list</a >({ ...params }) -> InvoiceLineItemListResponse</code >
24+
125# PurchaseSessions
226
327Types:
428
529- <code ><a href =" ./src/resources/purchase-sessions.ts " >PurchaseSessionCreateResponse</a ></code >
30+ - <code ><a href =" ./src/resources/purchase-sessions.ts " >PurchaseSessionRetrieveResponse</a ></code >
31+ - <code ><a href =" ./src/resources/purchase-sessions.ts " >PurchaseSessionListResponse</a ></code >
632
733Methods:
834
9- - <code title =" post /api/v1/purchase-sessions " >client.purchaseSessions.<a href =" ./src/resources/purchase-sessions.ts " >create</a >({ ...params }) -> PurchaseSessionCreateResponse</code >
35+ - <code title =" post /api/v1/purchase-session " >client.purchaseSessions.<a href =" ./src/resources/purchase-sessions.ts " >create</a >({ ...params }) -> PurchaseSessionCreateResponse</code >
36+ - <code title =" get /api/v1/purchase-session/{id} " >client.purchaseSessions.<a href =" ./src/resources/purchase-sessions.ts " >retrieve</a >(id) -> PurchaseSessionRetrieveResponse</code >
37+ - <code title =" get /api/v1/purchase-sessions " >client.purchaseSessions.<a href =" ./src/resources/purchase-sessions.ts " >list</a >({ ...params }) -> PurchaseSessionListResponse</code >
1038
1139# Products
1240
1341Types:
1442
1543- <code ><a href =" ./src/resources/products.ts " >ProductCreateResponse</a ></code >
44+ - <code ><a href =" ./src/resources/products.ts " >ProductRetrieveResponse</a ></code >
1645- <code ><a href =" ./src/resources/products.ts " >ProductUpdateResponse</a ></code >
1746- <code ><a href =" ./src/resources/products.ts " >ProductListResponse</a ></code >
1847
1948Methods:
2049
21- - <code title =" post /api/v1/products " >client.products.<a href =" ./src/resources/products.ts " >create</a >({ ...params }) -> ProductCreateResponse</code >
22- - <code title =" put /api/v1/products/{id} " >client.products.<a href =" ./src/resources/products.ts " >update</a >(id, { ...params }) -> ProductUpdateResponse</code >
50+ - <code title =" post /api/v1/product " >client.products.<a href =" ./src/resources/products.ts " >create</a >({ ...params }) -> ProductCreateResponse</code >
51+ - <code title =" get /api/v1/product/{id} " >client.products.<a href =" ./src/resources/products.ts " >retrieve</a >(id) -> ProductRetrieveResponse</code >
52+ - <code title =" put /api/v1/product/{id} " >client.products.<a href =" ./src/resources/products.ts " >update</a >(id, { ...params }) -> ProductUpdateResponse</code >
2353- <code title =" get /api/v1/products " >client.products.<a href =" ./src/resources/products.ts " >list</a >({ ...params }) -> ProductListResponse</code >
2454
2555# Variants
@@ -32,30 +62,68 @@ Types:
3262
3363Methods:
3464
35- - <code title =" post /api/v1/variants " >client.variants.<a href =" ./src/resources/variants.ts " >create</a >({ ...params }) -> VariantCreateResponse</code >
36- - <code title =" put /api/v1/variants /{id} " >client.variants.<a href =" ./src/resources/variants.ts " >update</a >(id, { ...params }) -> VariantUpdateResponse</code >
65+ - <code title =" post /api/v1/variant " >client.variants.<a href =" ./src/resources/variants.ts " >create</a >({ ...params }) -> VariantCreateResponse</code >
66+ - <code title =" put /api/v1/variant /{id} " >client.variants.<a href =" ./src/resources/variants.ts " >update</a >(id, { ...params }) -> VariantUpdateResponse</code >
3767- <code title =" get /api/v1/variants " >client.variants.<a href =" ./src/resources/variants.ts " >list</a >({ ...params }) -> VariantListResponse</code >
3868
69+ # Discounts
70+
71+ Types:
72+
73+ - <code ><a href =" ./src/resources/discounts.ts " >DiscountCreateResponse</a ></code >
74+ - <code ><a href =" ./src/resources/discounts.ts " >DiscountRetrieveResponse</a ></code >
75+ - <code ><a href =" ./src/resources/discounts.ts " >DiscountUpdateResponse</a ></code >
76+ - <code ><a href =" ./src/resources/discounts.ts " >DiscountListResponse</a ></code >
77+
78+ Methods:
79+
80+ - <code title =" post /api/v1/discount " >client.discounts.<a href =" ./src/resources/discounts.ts " >create</a >({ ...params }) -> DiscountCreateResponse</code >
81+ - <code title =" get /api/v1/discount/{id} " >client.discounts.<a href =" ./src/resources/discounts.ts " >retrieve</a >(id) -> DiscountRetrieveResponse</code >
82+ - <code title =" put /api/v1/discount/{id} " >client.discounts.<a href =" ./src/resources/discounts.ts " >update</a >(id, { ...params }) -> DiscountUpdateResponse</code >
83+ - <code title =" get /api/v1/discounts " >client.discounts.<a href =" ./src/resources/discounts.ts " >list</a >({ ...params }) -> DiscountListResponse</code >
84+
3985# CustomerProfiles
4086
4187Types:
4288
43- - <code ><a href =" ./src/resources/customer-profiles/customer-profiles.ts " >CustomerProfileCreateResponse</a ></code >
44- - <code ><a href =" ./src/resources/customer-profiles/customer-profiles.ts " >CustomerProfileRetrieveResponse</a ></code >
45- - <code ><a href =" ./src/resources/customer-profiles/customer-profiles.ts " >CustomerProfileUpdateResponse</a ></code >
89+ - <code ><a href =" ./src/resources/customer-profiles.ts " >CustomerProfileCreateResponse</a ></code >
90+ - <code ><a href =" ./src/resources/customer-profiles.ts " >CustomerProfileRetrieveResponse</a ></code >
91+ - <code ><a href =" ./src/resources/customer-profiles.ts " >CustomerProfileUpdateResponse</a ></code >
92+ - <code ><a href =" ./src/resources/customer-profiles.ts " >CustomerProfileListResponse</a ></code >
93+ - <code ><a href =" ./src/resources/customer-profiles.ts " >CustomerProfileBillingResponse</a ></code >
94+
95+ Methods:
96+
97+ - <code title =" post /api/v1/customer-profile " >client.customerProfiles.<a href =" ./src/resources/customer-profiles.ts " >create</a >({ ...params }) -> CustomerProfileCreateResponse</code >
98+ - <code title =" get /api/v1/customer-profile/{externalId} " >client.customerProfiles.<a href =" ./src/resources/customer-profiles.ts " >retrieve</a >(externalId) -> CustomerProfileRetrieveResponse</code >
99+ - <code title =" put /api/v1/customer-profile/{externalId} " >client.customerProfiles.<a href =" ./src/resources/customer-profiles.ts " >update</a >(externalId, { ...params }) -> CustomerProfileUpdateResponse</code >
100+ - <code title =" get /api/v1/customer-profiles " >client.customerProfiles.<a href =" ./src/resources/customer-profiles.ts " >list</a >({ ...params }) -> CustomerProfileListResponse</code >
101+ - <code title =" get /api/v1/customer-profile/{externalId}/billing " >client.customerProfiles.<a href =" ./src/resources/customer-profiles.ts " >billing</a >(externalId) -> CustomerProfileBillingResponse</code >
102+
103+ # Payments
104+
105+ Types:
106+
107+ - <code ><a href =" ./src/resources/payments.ts " >PaymentRetrieveResponse</a ></code >
108+ - <code ><a href =" ./src/resources/payments.ts " >PaymentListResponse</a ></code >
46109
47110Methods:
48111
49- - <code title =" post /api/v1/customer-profiles " >client.customerProfiles.<a href =" ./src/resources/customer-profiles/customer-profiles.ts " >create</a >({ ...params }) -> CustomerProfileCreateResponse</code >
50- - <code title =" get /api/v1/customer-profiles/{externalId} " >client.customerProfiles.<a href =" ./src/resources/customer-profiles/customer-profiles.ts " >retrieve</a >(externalId) -> CustomerProfileRetrieveResponse</code >
51- - <code title =" put /api/v1/customer-profiles/{externalId} " >client.customerProfiles.<a href =" ./src/resources/customer-profiles/customer-profiles.ts " >update</a >(externalId, { ...params }) -> CustomerProfileUpdateResponse</code >
112+ - <code title =" get /api/v1/payment/{id} " >client.payments.<a href =" ./src/resources/payments.ts " >retrieve</a >(id) -> PaymentRetrieveResponse</code >
113+ - <code title =" get /api/v1/payments " >client.payments.<a href =" ./src/resources/payments.ts " >list</a >({ ...params }) -> PaymentListResponse</code >
52114
53- ## Billing
115+ # Subscriptions
54116
55117Types:
56118
57- - <code ><a href =" ./src/resources/customer-profiles/billing.ts " >BillingRetrieveResponse</a ></code >
119+ - <code ><a href =" ./src/resources/subscriptions.ts " >SubscriptionRetrieveResponse</a ></code >
120+ - <code ><a href =" ./src/resources/subscriptions.ts " >SubscriptionListResponse</a ></code >
121+ - <code ><a href =" ./src/resources/subscriptions.ts " >SubscriptionAdjustResponse</a ></code >
122+ - <code ><a href =" ./src/resources/subscriptions.ts " >SubscriptionCancelResponse</a ></code >
58123
59124Methods:
60125
61- - <code title =" get /api/v1/customer-profiles/{externalId}/billing " >client.customerProfiles.billing.<a href =" ./src/resources/customer-profiles/billing.ts " >retrieve</a >(externalId) -> BillingRetrieveResponse</code >
126+ - <code title =" get /api/v1/subscription/{id} " >client.subscriptions.<a href =" ./src/resources/subscriptions.ts " >retrieve</a >(id) -> SubscriptionRetrieveResponse</code >
127+ - <code title =" get /api/v1/subscriptions " >client.subscriptions.<a href =" ./src/resources/subscriptions.ts " >list</a >({ ...params }) -> SubscriptionListResponse</code >
128+ - <code title =" post /api/v1/subscriptions/{id}/adjust " >client.subscriptions.<a href =" ./src/resources/subscriptions.ts " >adjust</a >(id, { ...params }) -> SubscriptionAdjustResponse</code >
129+ - <code title =" post /api/v1/subscriptions/{id}/cancel " >client.subscriptions.<a href =" ./src/resources/subscriptions.ts " >cancel</a >(id, { ...params }) -> SubscriptionCancelResponse</code >
0 commit comments