Skip to main content

Description

Updates the subscription status for one or more contacts, controlling whether they receive email and/or SMS communications. Contacts can be identified by email address or phone number.

Parameters

Example Usage

Notes

  • accountNumber is the child location ID — ask the user to provide it directly rather than looking it up automatically.
  • At least one of email or phone must be provided to identify the contacts.
  • Use "both-subscribed" to opt contacts in to both email and SMS, or "both-unsubscribed" to opt them out of all communications.