Skip to main content
POST
Bulk Import Products

Overview

The bulk import endpoint allows you to add multiple products to your catalog by providing a URL to a JSONL file containing your products data. This is used only initial catalog.

Authentication

This endpoint requires a valid JWT token in the x-auth-token header. You can find your token in the Developers section:

Body Parameters

string
required
A valid URL pointing to a JSONL file containing your products data. The file should be publicly accessible.

Expected JSONL File Structure

Your JSONL file should contain an array of products with the following structure:

Response

boolean
Indicates if the import was successful
string
A human-readable message describing the result

Best Practices

  1. File Hosting: Ensure your JSONL file is hosted on a reliable, publicly accessible URL.
  2. File Size: Keep your JSONL file under 10MB for optimal processing.
  3. Data Validation: Validate your JSONL structure before uploading to avoid failed imports.
  4. Error Handling: Implement retry logic with exponential backoff for rate limit errors.
  5. Idempotency: The operation is NOT idempotent - uploading the same file multiple times will create duplicate products.