Developer changelog
Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.
Removal of accepts marketing fields in Admin API customer resources
API
Effective January 01, 2024
Action required
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.
- CustomerInput
object on GraphQL Mutations.
- customer
resource in REST.
- customers/create
, customers/delete
, customers/disable
, customers/enable
, and customers/update
webhook topics (https://shopify.dev/docs/api/admin-rest/2024-01/resources/webhook#event-topics).