DataUploader

Create product catalog

Changed on

Create a new product catalog using a CSV file. This endpoint allows you to create a completely new catalog with product information.

post/api/v1/product-uploader-api/createCatalog

Request

Request body multipart/form-data

filestring binary required

CSV file containing product catalog data to create

entityType'CATALOG_CONSOLIDATED' | 'PRODUCT_CONSOLIDATED' | 'PRICE_BOOK_SCHEDULE' required

Type of entity being uploaded (e.g., PRODUCT_CONSOLIDATED)

Response

Catalog created successfully

messagestring required

Success message describing the operation result

Example response

{
  "message": "Uploaded the file successfully",
  "data": {
    "file": {
      "fieldname": "file",
      "originalname": "Single CSV Template (69).csv",
      "encoding": "7bit",
      "mimetype": "text/csv",
      "destination": "/app/resources/static/uploads",
      "filename": "1750151421696_Single CSV Template (69).csv",
      "path": "/app/resources/static/uploads/1750151421696_Single CSV Template (69).csv",
      "size": 3420
    },
    "processId": "4e4b146c-47dd-4b19-ac00-8214ff1e286d"
  }
}

Changes