How accepts_marketing field works?

As a app builder, we are confused while using accepts_marketing field and would like to know more.

  1. What is the purpose of this field on Shopify?
  2. Usage areas of this field
  3. Difference between accepts_marketing and email_marketing_consent field. In terms of usage and purpose, technical side is explained in the doc already.
  4. Why accepts_marketing is deprecated over here and not on liquid and other places?
1 Like