Endpoint
- Method:
POST - Path:
/settings/migrations/start - Edition: Core
- Controller:
MigrationController@startMigration - Route source:
app/Http/Routes/api.php - Access:
AdminPolicy—manage_optionsor themanage_all_datapermission.
POST Start Migration
POST
/settings/migrations/start
Start or resume a data migration. The importers keep the source IDs, so a fresh start (or reset_migration=yes) returns 422 when FluentAffiliate already has data: wipe the data first with POST /settings/migrations/wipe. Resuming an unfinished run of the same importer is allowed.
Controller: MigrationController@startMigration
Route source: app/Http/Routes/api.php
Authorizations
ApplicationPasswords
WordPress Application Passwords — use Basic auth with username:application_password.
Type
API Key (header: Authorization)
Request Body
application/json
JSON
{
}
Responses
Successful response
application/json
JSON
{
"message": "string"
}