@arcsubs/sdk-sales
v1.21.2
Published
JS Sales SDK for working with Arc Subs Sales API
Downloads
276
Maintainers
Readme
Sales
This SDK is responsible for interacting with the Sales
API. It will handle managing the user's cart, creating orders, processing payments and managing the user's subscriptions.
Subscription Interaction
- Properties
- [[subscriptions]]
- [[sharedSubscriptions]]
- Methods
- [[getAllSubscriptions]]
- [[getAllActiveSubscriptions]]
- [[getSubscriptionDetails]]
- [[getSubscriptionSharingDetails]]
- [[stopSharing]]
- [[shareSubscription]]
- [[redeemAssociateInvitation]]
- [[cancelSubscription]]
Order Interaction
- Properties
- [[orders]]
- Methods
- [[getOrderHistory]]
- [[getOrderDetails]]
Cart Interaction
- Properties
- [[cart]]
- Methods
- [[getCart]]
- [[addItemToCart]]
- [[removeItemFromCart]]
- [[clearCart]]
Checkout Interaction
- Properties
- [[currentOrder]]
- [[paymentOptions]]
- [[addresses]]
- Methods
- [[createOrder]]
- [[getPaymentOptions]]
- [[getAddresses]]
- [[initializePayment]]
- [[finalizePayment]]