@arc-publishing/sdk-sales
v1.89.0
Published
JS Sales SDK for working with Arc Subs Sales API
Downloads
12,369
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]]
- [[redeemEnterpriseSubscription]]
- [[cancelSubscription]]
- [[rescueSubscription]]
- [[updateBillingAddress]]
- [[initializePaymentUpdate]]
- [[finalizePaymentUpdate]]
- [[finalizePaymentUpdate3ds]]
- [[setGiftRecipient]]
- [[redeemGiftSubscription]]
Order Interaction
- Properties
- [[orders]]
- Methods
- [[getOrderHistory]]
- [[getOrderDetails]]
Cart Interaction
- Properties
- [[cart]]
- Methods
- [[getCart]]
- [[addItemToCart]]
- [[removeItemFromCart]]
- [[clearCart]]
Checkout Interaction
- Properties
- [[currentOrder]]
- [[paymentOptions]]
- [[addresses]]
- Methods
- [[createOrder]] deprecated -- please use
createNewOrder
instead - [[createNewOrder]]
- [[getPaymentOptions]]
- [[getAddresses]]
- [[initializePayment]]
- [[finalizePayment]]
- [[finalizePayment3ds]]
- [[createOrder]] deprecated -- please use