Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Functions

Functions

setGiftRecipient

  • Parameters

    Returns Promise<APIErrorResponse | SetGiftRecipientResponse>

    Promise resolving to an object containing the subscription id, redemption code, name and the email of the recipient.

    On success (resolves)
    {
      "subscriptionID": 1435325,
      "redeemCode": "sgjndlkghsdlghsdflkghsldk",
      "name": "Tyrion",
      "email": "tyrion@test.com"
    }
    On error (throws)
    See documentation for corresponding error codes:
    https://redirector.arcpublishing.com/alc/docs/swagger/?url=./arc-products/arc-sales.json#/Subscription_Interaction/setGiftRecipientInfo