Anchor to UserErrorsCustomerMarketingConsentErrorUser
objectUser Errors Customer Marketing Consent Error
Requires access scope.
Anchor to FieldsFields
- code (UserErrorsCustomerMarketingConsentErrorCode)
- field ([String!])
- message (String!)
- Anchor to codecode•User
Errors 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 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 inputinput•Customer
Whats App Marketing Consent Update Input! required Specifies the input fields to update the current customer's WhatsApp marketing consent information.
Arguments
Was this section helpful?