Skip to main content

Validate Substitution Import Rows

POST 

/api/product-substitutions/import/validate

Validate mapped import rows and return a per-row annotated preview — no side effects, safe to call repeatedly.

Authentication: Requires Bearer token.

Each row is marked create (new pair), update (pair exists — fields will be updated), or error (with a reason). The mode column accepts friendly synonyms case-insensitively: "manual", "manual only", "out of stock", "if out of stock", "always".

Request

Responses

OK

Response Headers
    Content-Type