Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "sdk-sales/src/sdk/redeemAssociateInvitation"

Index

Functions

redeemAssociateInvitation

  • Parameters

    • token: string

    Returns Promise<APIErrorResponse | SubscriptionIDResponse>

    Promise resolving to an object w/ the subscriptionID of the newly created subscription. When successfully called, the subscriptions object will also be updated by calling getSubscriptionDetails(subscriptionID) with the newly created subscriptionID

    On success (resolves)
    {
      "subscriptionID": 11 // newly created subscription ID.
    }
    On error (throws)
    See documentation for corresponding error codes:
    https://redirector.arcpublishing.com/alc/docs/swagger/?url=./arc-products/arc-sales.json#/Subscription_Interaction/redeem