Anchor to CustomerWhatsAppMarketingConsentUpdatePayloadCustomer
payloadCustomer Whats App Marketing Consent Update Payload
Return type for mutation.
Anchor to FieldsFields
- 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?
Anchor to Mutations with this payloadMutations with this payload
- 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.
- 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?