--- title: CustomerSmsMarketingConsentUpdateInput - GraphQL Admin description: >- The input fields for updating SMS marketing consent information for a given customer ID. api_version: 2024-10 api_name: admin type: input_object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/CustomerSmsMarketingConsentUpdateInput md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/CustomerSmsMarketingConsentUpdateInput.txt --- # Customer​Sms​Marketing​Consent​Update​Input input\_object The input fields for updating SMS marketing consent information for a given customer ID. ## Fields * customer​Id [ID!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/ID) non-null 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. * sms​Marketing​Consent [Customer​Sms​Marketing​Consent​Input!](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/CustomerSmsMarketingConsentInput) required The marketing consent information when the customer consented to receiving marketing material by SMS. *** ## Mutations using this input * [customer​Sms​Marketing​Consent​Update.​input](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/customerSmsMarketingConsentUpdate#argument-input) MUTATION *** ## Map ### Mutations using this input * <\~>[customer​Sms​Marketing​Consent​Update.input](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/customerSmsMarketingConsentUpdate#argument-input)