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

2 body

2 total
Body · 2
csvstringRequired

Raw CSV content.

dryRunboolean

If true, returns only the diff without applying.

Request

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
}'

Response

JSON payload

{
  "success": true
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key