Personal Data API

The Personal Data API can be used to view and delete all personal data related to a customer id or email address.

GET /v1/personal_data

Find all personal data by customer ID or email address.

Request parameters

client_id: The unique identifier for your client configuration.

customer_id (optional): Your unique and stable customer identifier for the customer.

email (optional): The customer’s email address.

Note: One of customer_id and email must be provided!

Response body

{
  "data": {
      "name": "John Doe",
      "customer_id": "C001",
      "email": "john.doe@example.com",
      "reviews": [{
        "author_nick": "JD",
        "title": "So good!",
        "content": "Excellent product!",
      }],
     "questions": [{
        "author_nick": "John",
        "title": "Does this come in black?",
        "content": "Really want it in black",
      }],
     "seller_reviews": [{
        "author_nick": "John.D",
        "title": "Best store in town",
        "content": "Excellent service!",
      }],
    }
}

POST /v1/personal_data/delete

Delete all personal data by customer ID or email address.

Request body

Content-Type: application/json

{
    "customer_id": "C001"
}

or

{
    "email": "john.doe@example.com"
}

Note: One of customer_id and email must be provided!

Response

Will always return 204 No Content when there is no personal data left for the customer id or email.