Skip to content

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.

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.

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

Article 9 categoryProduct names that can reveal itTypical merchants
Health dataPrescription medication, diagnostic tests, mobility aids, incontinence products, hearing aidsPharmacies, medical supply, health and wellness
Sex life or sexual orientationIntimacy products, sexual health items, LGBTQ+ themed merchandiseSexual wellness, adult retail
Religious or philosophical beliefsReligious texts, prayer items, explicitly halal or kosher labeled supplements, faith-based coursesReligious bookshops, specialty food, online courses
Racial or ethnic originProducts whose name alone reveals a specific heritageCultural goods, heritage food, specialist cosmetics
Political opinionsMemberships, merchandise or publications tied to a named party or movementPolitical organizations, media, advocacy groups
Trade union membershipUnion membership packages, union-branded merchandiseUnions, professional associations
Genetic dataDNA testing kits, genetic screening servicesHealth tech, consumer diagnostics
Biometric dataFingerprint or facial recognition enrollment servicesSecurity tech, access control

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

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:

{
"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:

{
"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.

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

Product categoryRecommended name
Pharmacy, prescription or OTC medicationHealth product (anonymized)
Mental healthHealth product (anonymized)
Addiction supportHealth product (anonymized)
Genetic testing or diagnosticsHealth product (anonymized)
Sexual wellnessWellness product (anonymized)
Disability or care aidsCare product (anonymized)
Religious or faith-based goodsProduct (anonymized)
Ethnicity or cultural identity goodsProduct (anonymized)
Political membership or publicationsProduct (anonymized)
Trade union membership or branded goodsProduct (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.

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

{
"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
}
]
}

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.”

  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.

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.

This page is also available as Markdown — append .md to its URL — and is indexed in llms.txt.