Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Functions

Functions

shareSubscription

  • shareSubscription(id: number, email: string): Promise<APIErrorResponse | ReedemCodeResponse>
  • Parameters

    • id: number
    • email: string

    Returns Promise<APIErrorResponse | ReedemCodeResponse>

    Promise resolving to an object containing the redemption code.

    On success (resolves)
    {
      "redeemCode": "sgjndlkghsdlghsdflkghsldk"
    }
    On error (throws)
    See documentation for corresponding error codes:
    https://redirector.arcpublishing.com/alc/docs/swagger/?url=./arc-products/arc-sales.json#/Subscription_Interaction/share