Anchor to CustomerSmsMarketingConsentErrorCustomer
objectCustomer Sms Marketing Consent Error
Requires access scope.
An error that occurs during execution of an SMS marketing consent mutation.
Anchor to FieldsFields
- Anchor to codecode•Customer
Sms 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
- •mutation
Updates a customer's SMS marketing consent information. The customer must have a phone number on their account to receive SMS marketing.
You can set whether the customer subscribes or unsubscribes to SMS marketing and specify the opt-in level. Optionally include when the consent was collected and which location collected it.
- Anchor to inputinput•Customer
Sms Marketing Consent Update Input! required Specifies the input fields to update a customer's SMS marketing consent information.
Arguments
Was this section helpful?