Skip to main content
Version: 7.5.x

Datapolicies

The data policies resource retrieves the data policies associated with a customer.

Read Data Policies For Store From Profile​

Retrieve the list of data policies for a store from a customer profile, based on the data policy segment header(s).

Workflow​

  1. Start with profile
  2. GET the link with rel: data-policies
  3. Render the response

Read Data Policies For Store From Root​

Retrieve the list of data policies for a store from root, based on the data policy segment header(s).

Workflow​

  1. Start with data-policies
  2. Render the response

Read Data Policy​

Retrieves a data policy if a valid data policy segment is provided.

Workflow​

  1. Start with data-policies
  2. GET the link with rel: data-policy
  3. Render the response

Response Fields​

Type: data-policies.data-policy​

NameDescriptionType
policy-reference-keyThe data policy reference key.string
policy-nameThe data policy name.string
data-policy-consentThe data policy consent flag.string

Retrieve a data policy consent form for a data policy.

Workflow​

  1. Start with data-policy
  2. GET the link with rel: data-policy-consent-form
  3. Render the response

Add data policy consent for a customer.

Workflow​

  1. Start with data-policy
  2. GET the link with rel: datapolicyconsentform
  3. Fill out the form
  4. POST the form using the link with rel: consentaction