BizKitHub
DocsAPI ReferenceProduct Category/bff/product-category/import-csv
postProduct CategoryAdmin BFF

/bff/product-category/import-csv

Validates and (if dryRun=false) applies the CSV. Existing categories are matched by code and updated; missing codes are inserted. The importer never deletes.

Product CategorypostBffProduct-categoryImport-csv

Parameters

JSON body

Request body

application/json
csvstringRequired

Raw CSV content.

dryRunbooleanOptional

If true, returns only the diff without applying.

Response schema

1 status code documented

200Success

This response returns no JSON body.

Response example

application/json
{
  "success": true
}

Request example

POST /bff/product-category/import-csv

post
curl -X POST "https://api.bizkithub.com/bff/product-category/import-csv" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "csv": "example_csv",
  "dryRun": false
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key