Start an import in the background (202); poll the source for running/lastStats.
POST
/v1/admin/catalog/sources/{id}/reindex
const url = 'https://example.com/v1/admin/catalog/sources/example/reindex';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/admin/catalog/sources/example/reindex \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string