Skip to main content
POST
Create Connector

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

Idempotency-Key
string

Optional, client-generated key for deduplicating repeated write requests. A repeated request with the same key returns the originally recorded result instead of executing the effect again.

Required string length: 1 - 255
x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

Query Parameters

simulate
boolean

If true, runs the live handshake and tax rate check without creating the account; use this to test a connection first. Optional. Defaults to false. When true, the response contains no "SalesChannelId" (omitted in REST, null in GraphQL).

Body

application/json

Request model for CreateConnector command endpoint. Route parameters bind from the route, query parameters from the query string, everything else from the body.

url
string
required

URL of the connector endpoint. Mandatory. Must not point to the same host and path as another active JTL-Connector account (compared case-insensitively, ignoring scheme and trailing slash); deleted (inactive) accounts are ignored, locked accounts are not.

apiToken
string
required

API token used to authenticate against the connector endpoint. Mandatory. Write-only; never echoed back in the response.

name
string
required

Name of the connector account. Mandatory.

companyId
string<uuid>
required

ID of the company the connector account belongs to. Mandatory. The tax rates reported by the endpoint are validated against this company's tax rates.

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

isActive
boolean

DEPRECATED: do not use. This property is ignored and will be removed in a future API version. A new connector account is always created as active.

isLocked
boolean

Connector account is locked. Optional. Defaults to false.

rootCategoryId
string<uuid>

Root category for imported items. Optional. Defaults to null (no root category set).

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

useShopOrderNumber
boolean

Use the shop-assigned order number instead of the JTL-Wawi-generated one. Optional. Defaults to false.

canImport
boolean

The connector account is allowed to import data from the endpoint. Optional. Defaults to false.

shouldImportItemsAndCategories
boolean

Items and categories are imported. Optional. Defaults to false.

shouldImportOrdersAndCustomers
boolean

Orders and customers are imported. Optional. Defaults to false.

shouldImportImages
boolean

Item images are imported. Optional. Defaults to false.

canUpload
boolean

The connector account is allowed to upload data to the endpoint. Optional. Defaults to false.

shouldUploadItemComplete
boolean

Items are uploaded completely, rather than price/stock-restricted. Optional. Defaults to false.

shouldUploadItemPriceRestricted
boolean

Item uploads are restricted to prices only. Optional. Defaults to false.

shouldUploadItemStockRestricted
boolean

Item uploads are restricted to stock only. Optional. Defaults to false.

shouldUploadCustomers
boolean

Customer data is uploaded. Optional. Defaults to false.

shouldUploadImages
boolean

Images are uploaded. Optional. Defaults to false.

shouldRefreshExistingItems
boolean

Existing items are merged/refreshed rather than only added. Optional. Defaults to false.

shouldRefreshCustomers
boolean

Existing customer data is refreshed. Optional. Defaults to false.

shouldDeleteImagesOnImport
boolean

Images are deleted on import. Optional. Defaults to false.

shouldWawiCalculateTaxRate
boolean

JTL-Wawi calculates the tax rate for items, rather than taking the endpoint-reported one. Optional. Defaults to false.

shouldWawiCalculateTaxRateForShipping
boolean

JTL-Wawi calculates the tax rate for shipping, rather than taking the endpoint-reported one. Optional. Defaults to false.

shippingCountryIso
string

The shipping (departure) country as an ISO 3166-1 alpha-2 code, e.g. DE. Optional. Defaults to null. Case-insensitive; returned in uppercase.

entityCount
integer<int32>

Maximum number of entities transferred per run. Optional. Omit or send null to use the default (5).

pullCount
integer<int32>

Maximum pull count per sync run. Optional. Defaults to 50.

imagesCount
integer<int32>

Maximum number of images transferred per run. Optional. Omit or send null to use the default (10).

maximumTransferRate
number<decimal>

Maximum transfer rate for uploads, in megabytes, or null for unrestricted. Optional. Defaults to null (no limit).

quickSyncCount
integer<int32>

Maximum quick-sync count per sync run. Optional. Defaults to 10.

Response

The connector account was created. Returns the account with its configuration and the metadata reported by the endpoint. When "Simulate" is true, the same checks run but nothing is saved; the response has the same shape and status code, but contains no "SalesChannelId" (omitted in REST, null in GraphQL). No "Location" header is returned.

A connector account with its configuration and the metadata reported by its endpoint. Returned when a connector account is created ("POST /v2/sales-channels/connector/accounts" or "CreateConnector"), updated ("PATCH /v2/sales-channels/{salesChannelId}/connector" or "UpdateConnector") or refreshed ("POST /v2/sales-channels/{salesChannelId}/connector/refresh" or "RefreshConnector"). Languages, currencies, features, tax rates and server information are read-only and come from the endpoint; currency codes are uppercase and language codes are lowercase. Per-object-type synchronization settings are not included; use "GET /v2/sales-channels/{salesChannelId}/connector/synchronisation-settings" or "QueryConnectorSynchronisationSettings".

isActive
boolean
required

Connector account is active.

isLocked
boolean
required

Connector account is locked.

canImport
boolean
required

The connector account is allowed to import data from the endpoint.

shouldImportItemsAndCategories
boolean
required

Items and categories are imported.

shouldImportOrdersAndCustomers
boolean
required

Orders and customers are imported.

shouldImportImages
boolean
required

Item images are imported.

canUpload
boolean
required

The connector account is allowed to upload data to the endpoint.

shouldUploadItemComplete
boolean
required

Items are uploaded completely, rather than price/stock-restricted.

shouldUploadItemPriceRestricted
boolean
required

Item uploads are restricted to prices only.

shouldUploadItemStockRestricted
boolean
required

Item uploads are restricted to stock only.

shouldUploadCustomers
boolean
required

Customer data is uploaded.

shouldUploadImages
boolean
required

Images are uploaded.

shouldRefreshExistingItems
boolean
required

Existing items are merged/refreshed rather than only added.

shouldRefreshCustomers
boolean
required

Existing customer data is refreshed.

shouldDeleteImagesOnImport
boolean
required

Images are deleted on import.

shouldWawiCalculateTaxRate
boolean
required

JTL-Wawi calculates the tax rate for items, rather than taking the endpoint-reported one.

shouldWawiCalculateTaxRateForShipping
boolean
required

JTL-Wawi calculates the tax rate for shipping, rather than taking the endpoint-reported one.

pullCount
integer<int32>
required

Maximum pull count per sync run.

quickSyncCount
integer<int32>
required

Maximum quick-sync count per sync run.

sendOnlyAssignedManufacturers
boolean
required

Manufacturer data sent to the endpoint is filtered to only assigned manufacturers.

useShopOrderNumber
boolean
required

The shop-assigned order number is used instead of the JTL-Wawi-generated one.

languages
object[]
required

Languages available in JTL-Wawi, annotated with the assignment/default state reported by the connector endpoint's live handshake.

currencies
object[]
required

ISO 4217 currencies known to JTL-Wawi, annotated with the assignment/default state reported by the connector endpoint's live handshake.

features
object[]
required

Every known connector feature, each marked whether the connector endpoint reported it as enabled.

taxRates
object[]
required

Tax rates reported by the endpoint during the live handshake, each with the JTL-Wawi tax rate it was matched to. Returned when a connector account is created ("POST /v2/sales-channels/connector/accounts" or "CreateConnector") or refreshed ("POST /v2/sales-channels/{salesChannelId}/connector/refresh" or "RefreshConnector"); always empty in the update response ("PATCH /v2/sales-channels/{salesChannelId}/connector" or "UpdateConnector").

serverInfo
object
required

Live-only metadata about the connected endpoint's platform and protocol version, as reported by its handshake.

salesChannelId
string

Sales channel id of this connector account. Opaque, tenant-local composite identifier (not a UUID). Null when "Simulate" is true (omitted in REST, null in GraphQL); no account was saved, so no id is assigned.

name
string

Name of the connector account.

url
string

URL of the connector endpoint.

companyId
string<uuid>

ID of the company the connector account belongs to.

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

maximumTransferRate
number<decimal>

Maximum transfer rate for uploads, in megabytes, or null if unrestricted.

imagesCount
integer<int32>

Maximum number of images transferred per run, or null if unrestricted.

entityCount
integer<int32>

Maximum number of entities transferred per run, or null if unrestricted.

shippingCountryIso
string

The shipping (departure) country as an ISO 3166-1 alpha-2 code, e.g. DE, or null if not set. Case-insensitive; returned in uppercase.

dummyCategoryId
string<uuid>

Fallback category for uncategorized imported items, or null if not set.

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

rootCategoryId
string<uuid>

Root category for imported items, or null if not set.

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"