mutation SaveConnectorConfiguration($request: SaveConnectorConfigurationCommandRequestInput!) {
SaveConnectorConfiguration(request: $request) {
canImport
shouldImportItemsAndCategories
shouldImportOrdersAndCustomers
shouldImportImages
canUpload
shouldUploadItemComplete
}
}{
"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
}
}{
"data": {
"SaveConnectorConfiguration": {
"canImport": true,
"shouldImportItemsAndCategories": true,
"shouldImportOrdersAndCustomers": true,
"shouldImportImages": true,
"canUpload": true,
"shouldUploadItemComplete": true
}
}
}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//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.
SaveConnectorConfiguration(request: SaveConnectorConfigurationCommandRequestInput!): ConnectorConfiguration!Arguments
Returns
The connector account is allowed to import data from the endpoint.
Items and categories are imported.
Orders and customers are imported.
Item images are imported.
The connector account is allowed to upload data to the endpoint.
Items are uploaded completely, rather than price/stock-restricted.
Item uploads are restricted to prices only.
Item uploads are restricted to stock only.
Customer data is uploaded.
Images are uploaded.
Existing items are merged/refreshed rather than only added.
Existing customer data is refreshed.
Images are deleted on import.
JTL-Wawi calculates the tax rate for items, rather than taking the endpoint-reported one.
JTL-Wawi calculates the tax rate for shipping, rather than taking the endpoint-reported one.
Maximum transfer rate for uploads, in megabytes, or null if unrestricted.
Maximum number of images transferred per run, or null if unrestricted.
Maximum number of entities transferred per run, or null if unrestricted.
Maximum pull count per sync run.
Maximum quick-sync count per sync run.
Manufacturer data sent to the endpoint is filtered to only assigned manufacturers.
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.
Fallback category for uncategorized imported items, or null if not set.
mutation SaveConnectorConfiguration($request: SaveConnectorConfigurationCommandRequestInput!) {
SaveConnectorConfiguration(request: $request) {
canImport
shouldImportItemsAndCategories
shouldImportOrdersAndCustomers
shouldImportImages
canUpload
shouldUploadItemComplete
}
}{
"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
}
}{
"data": {
"SaveConnectorConfiguration": {
"canImport": true,
"shouldImportItemsAndCategories": true,
"shouldImportOrdersAndCustomers": true,
"shouldImportImages": true,
"canUpload": true,
"shouldUploadItemComplete": true
}
}
}Was this page helpful?