Anchor to customerWhatsAppMarketingConsentUpdatecustomer
mutationcustomer Whats App Marketing Consent Update
Requires access scope. Also: The user must be fully authenticated or pre-authenticated.
Updates the current 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.
Anchor to Arguments
Arguments
- input (CustomerWhatsAppMarketingConsentUpdateInput!)
- Anchor to inputinput•Customer
Whats App Marketing Consent Update Input! required Specifies the input fields to update the current customer's WhatsApp marketing consent information.
Was this section helpful?
Anchor to CustomerWhatsAppMarketingConsentUpdatePayload returnsCustomer Whats App Marketing Consent Update Payload returns
- customerPhoneNumber (CustomerPhoneNumber)
- userErrors ([UserErrorsCustomerMarketingConsentError!]!)
- Anchor to customerPhoneNumbercustomer•Customer
Phone Number Phone Number The customer phone number with the updated WhatsApp marketing consent information.
- Anchor to userErrorsuser•[User
Errors Errors Customer Marketing Consent Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?