Skip to content

Endpoint ​

  • Method: POST
  • Path: /settings/migrations/start
  • Edition: Core
  • Controller: MigrationController@startMigration
  • Route source: app/Http/Routes/api.php
  • Access: AdminPolicy — manage_options or the manage_all_data permission.

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

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI

FluentAffiliate developer documentation