E-commerce
The templates in this pack
Return and refund records: order linkage, reason, amount, status.
Schema
The canonical field set, printed as it ships.
8 fields with multilingual hints (DE / FR / IT / EN / ES) and field-level validators. Any source column that resolves to one of these is mapped by the cascade — most of them on the deterministic layers, with no LLM call.
returns_v1- fields
- 8
- required
- 2
- validated
- 0
- hints
- 8
| Canonical column | Type | Required | Validators | Header hints the cascade matches |
|---|---|---|---|---|
id | string | yes | — | matched on the column name |
order_id | string | yes | — | matched on the column name |
customer_id | string | — | — | matched on the column name |
reason | enumdefectivewrong_itemno_longer_neededdamaged_in_shippingother | — | — | grundraisonmotivo |
amount | number | — | — | betragmontantimportomontoamount |
currency | string | — | — | matched on the column name |
status | enumrequestedreceivedinspectedrefundedrejected | — | — | matched on the column name |
requested_at | date | — | — | matched on the column name |
Read the same definition as JSON at GET /v1/templates/returns_v1. A hint match resolves on layer 2 — no LLM call, no token spend, just the flat per-map fee. Hover a validator id to see what it checks.
- 8 canonical fields
- 2 required
- 0 validated
- 8 header hints
- E-commerce pack
Try it
A real file, a real call, one template id.
8 rows, return reason/status enums. Fully synthetic — safe to share, commit, and run in CI.
curl -X POST https://api.adaptivmapr.com/v1/uploads \
-H "Authorization: Bearer $ADAPTIVMAPR_API_KEY" \
-F "file=@returns_sample.csv" \
-F "template=returns_v1"→ upload created · mappings ready · confirm before commit
adaptivmapr.match_headers({
template_id: "returns_v1",
headers: ["id", "order_id", "customer_id", "reason"]
})schema-only · column names and a few examples only
Put returns in production — without shipping raw records.
Minimal data mode sends only column names and a few example values — never the full file. Add full-data when you need row-level AI, routed in-region under a BAA.








