AlphaAlpha Docs

Import products from Excel

Imports products from an Excel file. Existing products are merged, new products are created.

POST
/products/import
AuthorizationBearer <token>

In: header

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/products/import" \  -F file="string"
{
  "created": 0,
  "errors": [
    {
      "message": "string",
      "productId": "string",
      "row": 0
    }
  ],
  "skipped": 0,
  "updated": 0
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}