Skip to main content
POST
/
api
/
workspace
/
{workspaceId}
/
catalog
/
products
/
import
Bulk import products
curl --request POST \
  --url https://app.alana.shopping/api/workspace/{workspaceId}/catalog/products/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form format=csv
{
  "job_id": "<string>",
  "status": "queued",
  "total_records": 123,
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Obtain a token via the authentication endpoint and include it in the Authorization header: Authorization: Bearer <token>

Path Parameters

workspaceId
string
required

The workspace ID

Query Parameters

catalog_id
string

Body

multipart/form-data
file
file
required

CSV or JSON file with products

format
enum<string>
default:csv
Available options:
csv,
json

Response

Import job created successfully

job_id
string
status
enum<string>
Available options:
queued,
processing
total_records
integer
created_at
string<date-time>