Home > @infiniteobjects/shopify-data-manager > AdminTypes > CustomerSmsMarketingConsentUpdateInput
The input fields for updating SMS marketing consent information for a given customer ID.
Signature:
export interface CustomerSmsMarketingConsentUpdateInput
Property | Modifiers | Type | Description |
---|---|---|---|
customerId | Scalars[‘ID’][‘input’] | The ID of the customer to update the SMS marketing consent information for. The customer must have a unique phone number associated to the record. If not, add the phone number using the customerUpdate mutation first. |
|
smsMarketingConsent | CustomerSmsMarketingConsentInput | The marketing consent information when the customer consented to receiving marketing material by SMS. |