Saltar al contenido principal

sendSubscriptionLink

Sends the activation link of a subscription of the current account to the customer by email, SMS or WhatsApp. Without channel, it uses WhatsApp when customerPhone is set, else email when an address is known, else WhatsApp. SMS and WhatsApp fail in test mode. When the phone number has no WhatsApp account, the link goes by SMS instead. By WhatsApp, only a PENDING subscription can be sent. In the dashboard, this is the Send subscription link action of a PENDING subscription. Arguments: - input: The subscription, the recipient and the channel.

sendSubscriptionLink(
input: SendSubscriptionMessageInput!
): Subscription

Arguments​

sendSubscriptionLink.input ● SendSubscriptionMessageInput! non-null input​

Type​

Subscription object​

Recurring subscription billing a customer on a fixed cadence.