Anchor to CustomerPhoneNumberCustomer
objectCustomer Phone Number
Requires access scope.
A phone number.
Anchor to FieldsFields
- phoneNumber (String!)
- smsMarketingConsent (CustomerSmsMarketingConsent!)
- whatsAppMarketingConsent (CustomerWhatsAppMarketingConsent!)
- Anchor to phoneNumberphone•String!
Number non-null A customer's phone number.
- Anchor to smsMarketingConsentsms•Customer
Marketing Consent Sms Marketing Consent! non-null The SMS marketing consent information for the customer's phone number. Update with the
mutation.- Anchor to whatsAppMarketingConsentwhats•Customer
App Marketing Consent Whats App Marketing Consent! non-null The WhatsApp marketing consent information for the customer's phone number. Update with the
mutation.
Deprecated fields
- marketingCollectedFrom (CustomerConsentCollectedFrom): deprecated
- marketingOptInLevel (CustomerMarketingOptInLevel): deprecated
- marketingState (CustomerSmsMarketingState!): deprecated
- marketingUpdatedAt (DateTime): deprecated
- sourceLocation (Location): deprecated
- Anchor to marketingCollectedFrommarketing•Customer
Collected From Consent Collected From Deprecated - Anchor to marketingOptInLevelmarketing•Customer
Opt In Level Marketing Opt In Level Deprecated - Anchor to marketingStatemarketing•Customer
State Sms Marketing State! non-nullDeprecated - Anchor to marketingUpdatedAtmarketing•Date
Updated At Time Deprecated - Anchor to sourceLocationsource•Location
Location Deprecated
Was this section helpful?
Anchor to MutationsMutations
- customerWhatsAppMarketingConsentUpdate (CustomerWhatsAppMarketingConsentUpdatePayload)
- •mutation
Updates a customer's WhatsApp marketing consent information. The customer's WhatsApp account is identified by their phone number.
You can set whether the customer subscribes or unsubscribes to WhatsApp marketing and specify the opt-in level. Optionally include when the consent was collected and which location collected it.
- Anchor to inputinput•Customer
Whats App Marketing Consent Update Input! required Specifies the input fields to update a customer's WhatsApp marketing consent information.
Arguments
Was this section helpful?