Parameters
JSON body
Request body
application/jsoncsvstringRequiredRaw CSV content.
dryRunbooleanOptionalIf true, returns only the diff without applying.
Validates and (if dryRun=false) applies the CSV. Existing categories are matched by code and updated; missing codes are inserted. The importer never deletes.
JSON body
csvstringRequiredRaw CSV content.
dryRunbooleanOptionalIf true, returns only the diff without applying.
1 status code documented
This response returns no JSON body.
{
"success": true
}POST /bff/product-category/import-csv
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
}'All BizKitHub public API endpoints require authentication via API key.