Skip to main content

Import Products

POST 

/api/products/import

Execute the product import — creates products from the validated data. Should be called after validate.

Required scope: products:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

Body fields:

  • products (required, array, min 1): array of validated product objects to import

Returns 422 if the import fails.

Requires permission: products.import

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​

Created

Response Headers
    Content-Type