# HALOWERK EU Commerce Rules – Email Marketing Consent

> HALOWERK EU Commerce Rules – Email Marketing Consent is a paid API for AI agents from commerce-rules.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-17).

Determines whether email marketing consent is required under EU law for a given commerce scenario, based on declared transaction facts and an effective date.

## Facts

- Endpoint: POST https://commerce-rules.halowerk.com/v1/eu/email-marketing-consent?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-eu-commerce-rules-email-marketing-consent-cf319358
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u5UpNs8IYbr3rm9GcmrhO

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability halowerk-eu-commerce-rules-email-marketing-consent-cf319358 -d '<json body>'
```

Example prompt: I run a consumer-facing online shop in Germany selling general physical goods worth about €35, and I want to know whether I need explicit email marketing consent from my EU customers — evaluate this for today's date under current EU law.

## When to prefer this

Use this endpoint when you need a legally-grounded, fact-specific determination of EU email marketing consent obligations — especially when you need the primary EU legal source cited and want to understand exceptions and review triggers rather than receiving a generic compliance checklist. Prefer this over generic legal search tools when the input is structured commerce metadata and you need a machine-readable, actionable compliance decision.

## Known failure modes

- Missing or malformed effective_date causes validation error
- Unsupported seller_country or customer_country enum value returns 422
- Ambiguous product_category strings may result in a general/conservative ruling
- Declared fields array exceeding 200 items rejected
- Scenarios involving non-EU parties may fall outside the endpoint's scope

## How this service works

Determine email marketing consent from declared commerce facts, the effective date and the cited primary EU source. The response identifies applicability, exceptions, required actions, effective law and review triggers rather than claiming blanket compliance.

## Output

A structured decision identifying whether email marketing consent applies to the described scenario, any applicable exceptions (e.g. soft opt-in), required actions the seller must take, the specific EU legal instrument(s) that govern the situation, and the conditions or events that would trigger a compliance review.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "flags": {
   "type": "object",
   "default": {},
   "maxProperties": 100,
   "additionalProperties": {
    "type": "boolean"
   }
  },
  "is_platform": {
   "type": "boolean",
   "default": false
  },
  "customer_type": {
   "enum": [
    "consumer",
    "business",
    "unknown"
   ],
   "type": "string",
   "default": "consumer"
  },
  "is_electrical": {
   "type": "boolean",
   "default": false
  },
  "sales_channel": {
   "enum": [
    "own_shop",
    "marketplace",
    "social_commerce",
    "other"
   ],
   "type": "string",
   "default": "own_shop"
  },
  "effective_date": {
   "type": "string",
   "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
   "description": "Date on which the commercial decision is evaluated (YYYY-MM-DD)."
  },
  "seller_country": {
   "enum": [
    "AT",
    "BE",
    "BG",
    "HR",
    "CY",
    "CZ",
    "DK",
    "EE",
    "FI",
    "FR",
    "DE",
    "GR",
    "HU",
    "IE",
    "IT",
    "LV",
    "LT",
    "LU",
    "MT",
    "NL",
    "PL",
    "PT",
    "RO",
    "SK",
    "SI",
    "ES",
    "SE"
   ],
   "type": "string"
  },
  "declared_fields": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 100,
    "minLength": 1
   },
   "default": [],
   "maxItems": 200,
   "uniqueItems": true
  },
  "contains_battery": {
   "type": "boolean",
   "default": false
  },
  "customer_country": {
   "enum": [
    "AT",
    "BE",
    "BG",
    "HR",
    "CY",
    "CZ",
    "DK",
    "EE",
    "FI",
    "FR",
    "DE",
    "GR",
    "HU",
    "IE",
    "IT",
    "LV",
    "LT",
    "LU",
    "MT",
    "NL",
    "PL",
    "PT",
    "RO",
    "SK",
    "SI",
    "ES",
    "SE"
   ],
   "type": "string"
  },
  "product_category": {
   "type": "string",
   "default": "general_consumer_goods",
   "maxLength": 120,
   "minLength": 2
  },
  "transaction_type": {
   "enum": [
    "goods",
    "digital_content",
    "digital_service",
    "service",
    "marketplace_offer"
   ],
   "type": "string",
   "default": "goods"
  },
  "product_value_eur": {
   "type": "number",
   "default": 49.9,
   "maximum": 100000000,
   "minimum": 0
  },
  "is_digital_element": {
   "type": "boolean",
   "default": false
  },
  "is_microenterprise": {
   "type": "boolean",
   "default": false
  },
  "agreed_delivery_days": {
   "type": "integer",
   "default": 30,
   "maximum": 3650,
   "minimum": 0
  },
  "imported_from_outside_eu": {
   "type": "boolean",
   "default": false
  },
  "annual_cross_bord
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-eu-commerce-rules-email-marketing-consent-cf319358/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce-rules.halowerk.com](https://www.zero.xyz/host/commerce-rules.halowerk.com/llms.txt)
