Skip to content

setMySmsReminderConsent

setMySmsReminderConsent(business: EntityRef!, phone: String, consent: Boolean!): SetMySmsReminderConsentResult!

Agree to, or stop, a business texting the viewer session reminders — the "Text me reminders" box at checkout, written once the booking lands, the way setMyEmailMarketingConsent is. phone (as typed) sets the number first; it is saved to the account too when the account has none. A grant freezes the disclosure the viewer was shown into the consent ledger. Refused for a grant with no number.

Arguments

businessEntityRef!
phoneString
consentBoolean!

Returns

SetMySmsReminderConsentResult!

See SetMySmsReminderConsentResult for the full shape.

Try it

Authentication
Example
Query
mutation SetMySmsReminderConsent($business: EntityRef!, $phone: String, $consent: Boolean!) {
  setMySmsReminderConsent(business: $business, phone: $phone, consent: $consent) {
    __typename
  }
}
Variables
{}
POST https://go.sessions.website/api/graphql