Skip to main content

Validate Import

POST 

/api/products/import/validate

Validate mapped import data and return a preview. No data is created — safe to call repeatedly for client-side validation before executing the actual import.

Authentication: Requires Bearer token.

Body fields:

  • rows (required, array, min 1): array of product row objects to validate

Rows may include product_type — the product type's full path (e.g. Diapering > Cloth diapers), or just its leaf name when that name is unique among leaf types. A value that matches no type fails the row's validation. The import template includes this column.

Request​

Responses​

OK

Response Headers
    Content-Type