Create importer config

Create new importer config.

Creates a new importer configuration.

Requires authentication.

Request

POST /importer/config

Headers

HeaderValue
AuthorizationBearer <token>
Content-Typeapplication/json

Request Body

FieldTypeRequiredDescription
sourceTypestringYesType of data source connector.
sourceUrlstringYesURL of the data source API or feed endpoint.
languagesarrayYesArray of language codes to import (e.g. ["de", "en"]).
sourceSecretstringNoAuthentication secret for the data source.
sourceAuthUserstringNoUsername for data source authentication.
sourceAuthPasswordstringNoPassword for data source authentication.
runnerCountMaxintegerNoMaximum number of concurrent import runners.
schedulesarrayNoArray of scheduled run definitions.
notificationEnabledbooleanNoWhen true, sends email notifications on import completion.
notificationMailsstringNoComma-separated list of email addresses for notifications.

Example Request

{
  "sourceType": "oxid",
  "sourceUrl": "https://myshop.example.com/makaira-import",
  "languages": ["de", "en"],
  "runnerCountMax": 2,
  "notificationEnabled": true,
  "notificationMails": "[email protected]"
}

Response

Returns the created importer configuration object.

Body Params
languages
array of strings
languages
integer
string
string
string
string
string
boolean
string
schedules
array of objects
schedules
Headers
string
required

Makaira Instance ID

Response
200

OK

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!