Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

Changing customer consent for a data policy

Changing customer consent for a data policy

  1. Run a POST request on the data policy in the POST /datapolicies/{scope}/{policyId}/form format.
    The parameters for this request are:
    The data policy details , such as data-policy-consent, policy-name, policy-reference-key, appear.
  2. For data-policy-consent, set one of the following: