Bulk create or update SEO configurations from a file
Uploads a CSV or XLS file that creates or updates many SEO configurations in one request. The accepted file layout is described under Bulk Update File Format in the section introduction.
Send the file as multipart/form-data with exactly one file part; the name of the part is not significant. A request carrying no file, or more than one, is answered with an empty 400 body.
Processing is asynchronous. The response only confirms that the file was accepted: its type, delimiter and column names were valid. The rows themselves are applied in the background afterwards, and a row that cannot be applied is skipped silently — there is no response body, no job identifier and no status endpoint to follow up on. Verify the outcome by reading the configurations back from the list or detail paths.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The CSV or XLS file holding the configurations. Exactly one file must be sent.
The file was accepted and is being applied in the background. No response body.
No content
The request did not carry exactly one file. No response body.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The uploaded file was rejected — its type is neither CSV nor XLS, its columns could not be read, its extension is not one the spreadsheet reader recognises, the required url column is missing, or it carries a column that is neither a configuration field nor a defined attribute. The error_code field tells the cases apart; the codes are listed under Error Codes in the section introduction.
POST /api/v1/remote/1/seo/bulk_update/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17
{
"file": "binary"
}No content
Last updated
Was this helpful?

