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