> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.navipartner.com/apis/api-reference/customers/service-gdpr/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.navipartner.com/_mcp/server. Use this endpoint to initiate GDPR-compliant anonymization of customer data. The API creates an anonymization request after validating eligibility (e.g., no active memberships or blocking conditions) and returns a status message. ## Single Flexible Endpoint The GDPR anonymization API uses a **single POST endpoint** with a flexible request body that supports three different ways to identify the customer: ### Option 1: Customer Number Only Send only the customer number for **company-level anonymization**: ```json { "customerNo": "C00001" } ``` Use this when you don't need to specify a contact person. ### Option 2: Customer + Contact Number Send both customer number and contact number for **person-level anonymization**: ```json { "customerNo": "C00001", "contactNo": "CT00001" } ``` Use this when the customer is linked to a specific contact person. ### Option 3: Email Address Only Send only the email address to look up the customer: ```json { "email": "customer@example.com" } ``` ## Notes and Constraints * The anonymization process is **irreversible** once executed by the back office job * Customers with active/confirmed memberships or certain dependencies may be ineligible * If ineligible, the response includes a reason code in the message * When using email lookup, customer records must exist ## Response Format The API returns a response that echoes back the identifier(s) you provided: * `success`: boolean indicating if the request was created * `message`: detailed description of the result * `customerNo`: included when applicable * `contactNo`: included when provided in the request * `email`: included when using email-based lookup ## Endpoint * **POST** `/customer/requestAnonymize` > Documentation for NaviPartner's NP Retail, NP Attractions, NP Hospitality, NP Store Assistant and Entria products, plus their REST APIs, built on Microsoft Dynamics 365 Business Central. ## API Docs - GDPR [Request Customer Anonymization](https://docs.navipartner.com/apis/api-reference/customers/service-gdpr/request-anonymize.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://docs.navipartner.com/openapi.json) - [OpenAPI YAML](https://docs.navipartner.com/openapi.yaml)