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.
Show enum values
- 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.
Show payload
- 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.
Show input fields
Arguments
Was this section helpful?