Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

commerce / coupon selection conflict

An agent that applies a supplied promotion policy needs selected coupon pairs and exclusive groups that violate that policy counted.

POST https://detect.halowerk.com/v1/commerce/coupon-selection-conflict

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "selected": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "minItems": 0,
          "maxItems": 512
        },
        "incompatible": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "minItems": 2,
            "maxItems": 2
          },
          "minItems": 0,
          "maxItems": 512
        },
        "exclusive_groups": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "minItems": 2,
            "maxItems": 128
          },
          "minItems": 0,
          "maxItems": 512
        }
      },
      "required": [
        "selected",
        "incompatible",
        "exclusive_groups"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "selected": [
      "a"
    ],
    "incompatible": [
      [
        "a",
        "b"
      ]
    ],
    "exclusive_groups": []
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →