← Files Category Reference MappingARCHIVED FILE

EXAMPLE.json

817 Bytes · Nov 3, 2026 · 12:12 UTC

↓ Download file

{
  "input": {
    "products": [
      {
        "sku": "001",
        "sourceCategory": " shoes "
      },
      {
        "sku": "002",
        "sourceCategory": "Bags"
      }
    ],
    "rules": [
      {
        "sourceCategory": "Shoes",
        "targetCategory": "Footwear"
      }
    ],
    "matching": "trim-case-insensitive"
  },
  "expected": {
    "summary": "1 products need a category rule.",
    "rows": [
      {
        "sku": "001",
        "sourceCategory": " shoes ",
        "targetCategory": "Footwear",
        "status": "mapped"
      },
      {
        "sku": "002",
        "sourceCategory": "Bags",
        "targetCategory": "",
        "status": "unmapped"
      }
    ],
    "warnings": [
      "Only user-supplied rules are applied; no taxonomy or compliance verification."
    ]
  }
}

SHA-256: ca0c2dfb639492a2660a241fb30251ca3bf81e81d9c2f4383506831783f996b3