# Bulk products import
You can import your products from CSV files using REST API. The CSV file requires the usage of standardized attribute names for the header row. You can check the progress of your import with a GET request.
POST
/products/import/
Attributes | Type | Required | Description |
---|---|---|---|
input_file | file | yes | A valid CSV file |
# Request
- CURL
- JavaScript
- PHP
- Python
curl --location --request POST 'https://<your_app_subdomain>.user.com/api/public/products/import/' \
--header 'Content-Type: multipart/form-data' \
--header "Authorization: Token <your_64_char_api_key>" \
--header 'Accept: */*; version=2"' \
--form 'input_file=@"path/to/file.csv"'
# Response
{
"success": true,
"data": {
"id": "49b85a88-68c7-4236-bf04-9b10c4896510",
"total_count": 10999,
"succeeded": 10999,
"failed": 0,
"started_at": "2022-06-07T07:51:22.826756Z",
"finished_at": "2022-06-07T07:51:47.226386Z",
"author": 1,
"rows_with_errors": []
}
}