Anchor to CustomerMarketingConsentErrorCustomer
objectCustomer Marketing Consent Error
Requires access scope.
Anchor to FieldsFields
- code (CustomerMarketingConsentErrorCode)
- field ([String!])
- message (String!)
- Anchor to codecode•Customer
Marketing Consent Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
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?