# Sensitive product names

Anonymize order_lines[].name for products that reveal GDPR Article 9 special category data, and keep reference so you can still reconcile orders, fulfill and handle disputes.

The `order_lines` array carries product names, references and descriptions from your
catalog. For most merchants that is routine. If you sell products in sensitive categories,
the name alone can reveal personal information about the customer. This page covers which
products qualify, what to send instead and how to keep your own records intact.

## Why this matters

GDPR Article 9 defines special categories of personal data. They carry a higher risk of
harm if exposed and need a stricter legal basis to process. A product name like
"Sertraline 50mg" (an antidepressant) or an item from a religious bookshop tells the world
far more about your customer than a typical purchase does.

**You're the data controller.** What you put in the order payload is your responsibility,
so anonymize at the source, before the name reaches Kustom.

## Which products are affected

Anonymize any order line whose `name`, description or category reveals or strongly implies
one of these attributes about the customer.

| Article 9 category | Product names that can reveal it | Typical merchants |
| --- | --- | --- |
| Health data | Prescription medication, diagnostic tests, mobility aids, incontinence products, hearing aids | Pharmacies, medical supply, health and wellness |
| Sex life or sexual orientation | Intimacy products, sexual health items, LGBTQ+ themed merchandise | Sexual wellness, adult retail |
| Religious or philosophical beliefs | Religious texts, prayer items, explicitly halal or kosher labeled supplements, faith-based courses | Religious bookshops, specialty food, online courses |
| Racial or ethnic origin | Products whose name alone reveals a specific heritage | Cultural goods, heritage food, specialist cosmetics |
| Political opinions | Memberships, merchandise or publications tied to a named party or movement | Political organizations, media, advocacy groups |
| Trade union membership | Union membership packages, union-branded merchandise | Unions, professional associations |
| Genetic data | DNA testing kits, genetic screening services | Health tech, consumer diagnostics |
| Biometric data | Fingerprint or facial recognition enrollment services | Security tech, access control |

**If you're unsure, anonymize.** Over-anonymizing costs you little. Under-anonymizing is a
compliance problem.

## Anonymize at the order line level

Replace `name` with a generic label and put your own product id in `reference`. The
reference lets you reconcile the order from your own systems without exposing the product
to Kustom.

Don't send this, because it exposes health data:

```json
{
  "order_lines": [
    {
      "name": "Sertraline 50mg Tablets - 28 pack",
      "reference": "100482",
      "quantity": 1,
      "unit_price": 18900,
      "total_amount": 18900,
      "tax_rate": 0,
      "total_tax_amount": 0
    }
  ]
}
```

Send this instead:

```json
{
  "order_lines": [
    {
      "name": "Health product (anonymized)",
      "reference": "100482",
      "quantity": 1,
      "unit_price": 18900,
      "total_amount": 18900,
      "tax_rate": 0,
      "total_tax_amount": 0
    }
  ]
}
```

**Keep `reference` opaque.** A SKU like `SKU-SER-50MG-28` gives the product away as surely as
the name does. Use an opaque id, such as a number from your catalog.

### Label to use per category

Use one consistent, human-readable label per category, so support and reconciliation can
read it without learning the product.

| Product category | Recommended `name` |
| --- | --- |
| Pharmacy, prescription or OTC medication | `Health product (anonymized)` |
| Mental health | `Health product (anonymized)` |
| Addiction support | `Health product (anonymized)` |
| Genetic testing or diagnostics | `Health product (anonymized)` |
| Sexual wellness | `Wellness product (anonymized)` |
| Disability or care aids | `Care product (anonymized)` |
| Religious or faith-based goods | `Product (anonymized)` |
| Ethnicity or cultural identity goods | `Product (anonymized)` |
| Political membership or publications | `Product (anonymized)` |
| Trade union membership or branded goods | `Product (anonymized)` |

**Keep the word "(anonymized)".** It tells your operations team, Kustom's systems and any
compliance audit that the label is deliberate and not a data error. Don't use a bare
"product" or "item", which is easily mistaken for an integration mistake.

## Mixed carts

When a cart holds both kinds of product, anonymize only the sensitive lines. Ordinary
products keep their real names.

```json
{
  "order_lines": [
    {
      "name": "Water Bottle 500ml",
      "reference": "100311",
      "quantity": 1,
      "unit_price": 19900,
      "total_amount": 19900,
      "tax_rate": 2500,
      "total_tax_amount": 3980
    },
    {
      "name": "Health product (anonymized)",
      "reference": "100482",
      "quantity": 1,
      "unit_price": 18900,
      "total_amount": 18900,
      "tax_rate": 0,
      "total_tax_amount": 0
    }
  ]
}
```

## What the customer sees

`name` is shown on the confirmation page and in post-purchase messages from payment methods
such as Klarna. A customer who buys a sensitive product sees the anonymized label there.

**Tell your customers.** A line in your order confirmation email is enough, for example:
"For your privacy, sensitive product names are not displayed in payment confirmations."

## Implement it

1. **Identify the sensitive categories** in your catalog. Ask your data protection officer
   or legal team if you're unsure.
2. **Tag the products**, for example with a boolean `is_sensitive` flag in your product
   database.
3. **Replace the name when you build the payload.** For each line where `is_sensitive` is
   true, swap `name` for the label above before you send the order.
4. **Keep the real names in your own systems.** Fulfillment, returns and disputes all need
   them. Only the name sent to Kustom is anonymized.
5. **Test in Playground.** Check that the anonymized label appears on the confirmation page
   and in Developer Logs.

## Disputes on anonymized orders

If a dispute needs evidence, submit it through the Kustom Portal. Include the real product
name from your own order records in the evidence itself, separate from what you sent in the
API payload. The `reference` on the line lets you find the product in your systems at any
time.

## Related

- [Order lines and tax](/checkout/tax-and-order-lines/) — the other rules for what
  `order_lines` may contain.
- [Order payload](/checkout/integrate/the-order/) — where `order_lines` sits in the request.
- [Create an order](/checkout/integrate/create-order/) — send the payload to Kustom.
- [Checkout API reference](/api/checkout/) — every order line field and its constraints.
