--- title: >- Removal of accepts marketing fields in Admin API customer resources - Shopify developer changelog description: >- Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: >- https://shopify.dev/changelog/removal-of-accepts-marketing-fields-in-admin-api-customer-resources md: >- https://shopify.dev/changelog/removal-of-accepts-marketing-fields-in-admin-api-customer-resources.md metadata: effectiveApiVersion: 2024-01 affectedApi: [] primaryTag: displayName: API handle: api secondaryTag: displayName: Update handle: update indicatesActionRequired: true createdAt: '2023-12-05T11:30:38-05:00' postedAt: '2024-01-01T11:29:00-05:00' updatedAt: '2024-12-13T17:24:40-05:00' effectiveAt: '2024-01-01T11:29:00-05:00' --- January 1, 2024 Tags: * Action Required * API * 2024-01 # Removal of accepts marketing fields in Admin API customer resources As of API version **2024-01**, the following customer resource fields have been removed: `acceptsMarketing`, `acceptsMarketingUpdatedAt`, and `MarketingOptInLevel`. They have been deprecated since **2022-04** and the field `emailMarketingConsent` should be used instead. Learn more about the affected resources: * `Customer` object in [GraphQL Queries](https://shopify.dev/docs/api/admin-graphql/2024-01/objects/Customer). * `CustomerInput` object on [GraphQL Mutations](https://shopify.dev/docs/api/admin-graphql/2024-01/input-objects/CustomerInput). * `customer` resource in [REST](https://shopify.dev/docs/api/admin-rest/2024-01/resources/customer). * `customers/create`, `customers/delete`, `customers/disable`, `customers/enable`, and `customers/update` webhook topics ().