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
- Start with profile
GET
the link with rel: data-policies- 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
- Start with data-policies
- Render the response
Read Data Policy
Retrieves a data policy if a valid data policy segment is provided.
Workflow
- Start with data-policies
GET
the link with rel: data-policy- Render the response
Response Fields
Type: data-policies.data-policy
Name | Description | Type |
---|---|---|
policy-reference-key | The data policy reference key. | string |
policy-name | The data policy name. | string |
data-policy-consent | The data policy consent flag. | string |
Read Data Policy Consent Form
Retrieve a data policy consent form for a data policy.
Workflow
- Start with data-policy
GET
the link with rel: data-policy-consent-form- Render the response
Add Data Policy Consent
Add data policy consent for a customer.
Workflow
- Start with data-policy
GET
the link with rel: datapolicyconsentform- Fill out the form
POST
the form using the link with rel: consentaction