DataUploader

Publish product catalog

Changed on

Publish a product catalog using a CSV file. This endpoint makes the catalog available for use in the marketplace.

post/api/v1/product-uploader-api/publishCatalog

Request

Request body multipart/form-data

filestring binary required

CSV file containing product catalog data to publish

entityType'PRODUCT' required

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

Response

Catalog published 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