cURL
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" }
Import products from CSV or JSON file
Bearer token authentication. Obtain a token via the authentication endpoint and include it in the Authorization header: Authorization: Bearer <token>
Authorization: Bearer <token>
The workspace ID
CSV or JSON file with products
csv
json
Import job created successfully
queued
processing