@arc-publishing/sdk-sales
TypeScript icon, indicating that this package has built-in type declarations

1.89.0 • Public • Published

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]]

Dependents (3)

Package Sidebar

Install

npm i @arc-publishing/sdk-sales

Weekly Downloads

2,887

Version

1.89.0

License

ISC

Unpacked Size

1.48 MB

Total Files

260

Last publish

Collaborators

  • maddoxnelson
  • design1online
  • juliebacon
  • amyerz
  • raclar
  • arcsubs
  • robin.giannattasio
  • chenghsinw
  • mattkimwp
  • styonsk