SMS marketing consent
API
Effective September 22, 2021
As of API version 2021-10, you can use the GraphQL Admin API and REST Admin API to retrieve, add, and update a customer's consent to receive marketing material by SMS.
You can also subscribe to a webhook topic to be notified when a customer updates their SMS marketing consent.
For more information, refer to the API 2021-10 release notes.