Anchor to CustomerPhoneNumberCustomer
objectCustomer Phone Number
Requires access scope.
A phone number.
Anchor to FieldsFields
- phoneNumber (String!)
- whatsAppMarketingConsent (CustomerWhatsAppMarketingConsent!)
- Anchor to phoneNumberphone•String!
Number non-null A customer's phone number.
- 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.Show fields
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 Show enum values
- Anchor to marketingOptInLevelmarketing•Customer
Opt In Level Marketing Opt In Level Deprecated Show enum values
- Anchor to marketingStatemarketing•Customer
State Sms Marketing State! non-nullDeprecated Show enum values
- Anchor to marketingUpdatedAtmarketing•Date
Updated At Time Deprecated - Anchor to sourceLocationsource•Location
Location Deprecated Show fields
Was this section helpful?
Anchor to MutationsMutations
- customerWhatsAppMarketingConsentUpdate (CustomerWhatsAppMarketingConsentUpdatePayload)
- •mutation
Updates a customer's WhatsApp marketing consent information. Shopify identifies the customer's WhatsApp account by their phone number.
You can subscribe or unsubscribe the customer from WhatsApp marketing and specify the opt-in level. You can also include when and where the consent was collected.
Show payload
- Anchor to inputinput•Customer
Whats App Marketing Consent Update Input! required Specifies the input fields to update a customer's WhatsApp marketing consent information.
Show input fields
Arguments
Was this section helpful?