Skip to main content

Overview

The Bulk Product Upload endpoint allows sellers to import product data into Commenda using a CSV file. This is especially useful for onboarding existing catalogs or synchronizing product data across platforms.

Endpoint

Request Body

  • The file_id should point to a previously uploaded CSV file via the /files endpoint.
  • If corporation_id is included, additional authorization checks are performed and all products in the CSV must belong to this corporation.
  • update_protected_columns allows updating source platform fields if set to true.

Response Body

The endpoint returns a job object that can be used to track the progress of the bulk upload via the Jobs API.

CSV File Requirements

  • Must be CSV format with headers.
  • Max file size: 15 MB
  • Content-Type must be one of the supported file types (e.g., text/csv)
  • Header row is required.

CSV Headers

Important Notes:
  • At least one of name or sku must be provided for each product.
  • If name is provided, it must be at least 3 characters long.
  • If source_platform is provided, source_platform_id must also be provided, and vice versa.
  • If a corporation_id is specified in the request body, all products in the CSV must have matching corporation_id values.

Sample CSV


Notes

  • Commenda creates an async import job to process the CSV.
  • You can monitor job status via the Jobs API.
  • Only the first few rows are validated synchronously. Deeper row-level validation is handled asynchronously in the import job.
  • The import is non-blocking—you’ll receive a job ID to track progress.