Anchor to CustomerSmsMarketingConsentUpdatePayloadCustomer
payloadCustomer Sms Marketing Consent Update Payload
Return type for mutation.
Anchor to FieldsFields
- customer (Customer)
- userErrors ([CustomerSmsMarketingConsentError!]!)
- Anchor to customercustomer•Customer
The updated customer.
- Anchor to userErrorsuser•[Customer
Errors Sms 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
- customerSmsMarketingConsentUpdate (CustomerSmsMarketingConsentUpdatePayload)
- •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?