> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SaveConnectorConfiguration

> Replaces the synchronization configuration of a connector account. This is a full replacement: send all fields; omitted optional fields are set to null (no limit / not set). To change individual fields, use "PATCH /v2/sales-channels/{salesChannelId}/connector" or "UpdateConnector". Only the configuration is changed, and the endpoint is not contacted. "DummyCategoryId" is managed by JTL-Wawi and keeps its value. Endpoint-reported fields (PlatformName, PlatformVersion, ProtocolVersion, EndpointVersion, IsOldConnector, ServerInfo) cannot be written. Unknown properties are ignored in REST and rejected in GraphQL.



**mutation** `SaveConnectorConfiguration(request: SaveConnectorConfigurationCommandRequestInput!): ConnectorConfiguration!`

## Arguments

**`request`**: `SaveConnectorConfigurationCommandRequestInput!` (required)

## Returns

`ConnectorConfiguration!`

**`canImport`**: `Boolean!`

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

---

**`shouldImportItemsAndCategories`**: `Boolean!`

Items and categories are imported.

---

**`shouldImportOrdersAndCustomers`**: `Boolean!`

Orders and customers are imported.

---

**`shouldImportImages`**: `Boolean!`

Item images are imported.

---

**`canUpload`**: `Boolean!`

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

---

**`shouldUploadItemComplete`**: `Boolean!`

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

---

**`shouldUploadItemPriceRestricted`**: `Boolean!`

Item uploads are restricted to prices only.

---

**`shouldUploadItemStockRestricted`**: `Boolean!`

Item uploads are restricted to stock only.

---

**`shouldUploadCustomers`**: `Boolean!`

Customer data is uploaded.

---

**`shouldUploadImages`**: `Boolean!`

Images are uploaded.

---

**`shouldRefreshExistingItems`**: `Boolean!`

Existing items are merged/refreshed rather than only added.

---

**`shouldRefreshCustomers`**: `Boolean!`

Existing customer data is refreshed.

---

**`shouldDeleteImagesOnImport`**: `Boolean!`

Images are deleted on import.

---

**`shouldWawiCalculateTaxRate`**: `Boolean!`

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

---

**`shouldWawiCalculateTaxRateForShipping`**: `Boolean!`

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

---

**`maximumTransferRate`**: `Decimal`

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

---

**`imagesCount`**: `Int`

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

---

**`entityCount`**: `Int`

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

---

**`pullCount`**: `Int!`

Maximum pull count per sync run.

---

**`quickSyncCount`**: `Int!`

Maximum quick-sync count per sync run.

---

**`sendOnlyAssignedManufacturers`**: `Boolean!`

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

---

**`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`**: `ID`

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

## Examples

```graphql Mutation
mutation SaveConnectorConfiguration($request: SaveConnectorConfigurationCommandRequestInput!) {
  SaveConnectorConfiguration(request: $request) {
    canImport
    shouldImportItemsAndCategories
    shouldImportOrdersAndCustomers
    shouldImportImages
    canUpload
    shouldUploadItemComplete
  }
}
```

```json Variables
{
  "request": {
    "salesChannelId": "string",
    "canImport": true,
    "shouldImportItemsAndCategories": true,
    "shouldImportOrdersAndCustomers": true,
    "shouldImportImages": true,
    "canUpload": true,
    "shouldUploadItemComplete": true,
    "shouldUploadItemPriceRestricted": true,
    "shouldUploadItemStockRestricted": true,
    "shouldUploadCustomers": true,
    "shouldUploadImages": true,
    "shouldRefreshExistingItems": true,
    "shouldRefreshCustomers": true,
    "shouldDeleteImagesOnImport": true,
    "shouldWawiCalculateTaxRate": true,
    "shouldWawiCalculateTaxRateForShipping": true,
    "pullCount": 1,
    "quickSyncCount": 1,
    "sendOnlyAssignedManufacturers": true
  }
}
```

```json Response
{
  "data": {
    "SaveConnectorConfiguration": {
      "canImport": true,
      "shouldImportItemsAndCategories": true,
      "shouldImportOrdersAndCustomers": true,
      "shouldImportImages": true,
      "canUpload": true,
      "shouldUploadItemComplete": true
    }
  }
}
```
