Job Configuration - Overview

This page provides an overview about import and export jobs in DJUST via SFTP, API Connector or an uploaded file (File import).


✅ Introduction

Data Synchronization

DJUST supports two types of data synchronization jobs:

  • Import Jobs – Bring external data into DJUST.
  • Export Jobs – Send data from DJUST to external systems.

Jobs can be configured to work with either:

⚠️

REST APIs

The API connector works only with REST architecture APIs and does not work with SOAP or GraphQL APIs.

💡

Hybrid method available for API Connector

You can configure an API Connector to retrieve a .csv file by making a GET request to a URL returned by a previous API call.

Execution Modes

An import job starts one way only. The three modes below are mutually exclusive, and switching from one to another removes the configuration of the mode being left:

ModelaunchModeHow the job starts
ScheduledSCHEDULEDAutomatically, on the cronExpression of the job (e.g. every 30 min, daily). All scheduled times are expressed in UTC.
TriggeredTRIGGEREDAt the end of an execution of another job, its upstream job — see Chaining imports.
ManualMANUALOnly when started by hand, from the Back-Office or through the API.

Whatever its mode, a job can always be started manually. For a File import job, the operator drops a CSV file and starts the import directly from the job page — see Job Configuration - Import - File.

Export jobs can also be event-driven: triggered when an event occurs, typically a status change on an object like an Order.

⚠️

Warning: Setting an upstream job removes the cronExpression of the job, and setting a cronExpression removes its upstream job. A job never carries both a schedule and a trigger.

Chaining imports

Two imports that depend on each other — a reference feed, then the offers attached to it — used to be coordinated by guessing how long the first one takes and offsetting the schedule of the second. Chaining removes that guesswork: an import starts at the end of an execution of another import, as soon as that execution ends in a status you chose.

Key concepts

ConceptDescription
Upstream jobThe job at the end of which another job starts. A job has at most one upstream job.
Triggering statusesThe end statuses of an upstream execution that actually start the downstream job. At least one must be chosen.
ChainA sequence of jobs linked this way. A job can trigger several jobs, in no imposed order, and the chain has no length limit.
Launch modeHow a job starts — SCHEDULED, TRIGGERED or MANUAL. Returned on the job itself.

Triggering statuses

Pick at least one of the four end statuses below. There is no default value on the API.

StatusMeaning
INTEGRATION_COMPLETEDThe upstream execution completed
INTEGRATION_COMPLETED_WITH_WARNINGSIt completed with warnings
NOTHING_TO_PROCESSIt had nothing to process
INTEGRATION_COMPLETED_WITH_ERRORSIt completed with errors
⚠️

Warning: An execution that fails, is stopped or is abandoned never starts the downstream job, whatever the triggering statuses configured.

Rules to know

  • One upstream job per job, several downstream jobs per job. Setting an upstream job again replaces the previous one and its triggering statuses.
  • No loop. A job cannot start after itself, nor after a job that already starts after it, directly or through other jobs. Cycles are refused at any depth.
  • An inactive job is never woken up by a trigger. The chain stops at it — and the jobs chained after it do not start either. Reactivating the job resumes the chain on the next upstream execution.
  • Deleting the upstream job removes the link: the jobs it used to trigger fall back to manual.
  • Scope: every import job can be chained, whatever its connector (File, FTP/SFTP, API), except the indexation job. Export jobs cannot be chained.
  • Start behaviour: a triggered job starts exactly as a scheduled one, through the same concurrency rules (mapperExecutionMode) — see Simultaneous execution of a job.
  • Existing jobs are untouched: a job already scheduled keeps its schedule and its behaviour.
flowchart LR
  %% Styles (Readme)
  classDef create   fill:#e8f1ff,stroke:#2f6feb,stroke-width:2px,color:#0b3d91;
  classDef read     fill:#ede9fe,stroke:#7c3aed,stroke-width:2px,color:#1e1b4b;
  classDef update   fill:#e0f7fa,stroke:#06b6d4,stroke-width:2px,color:#0c4a6e;
  classDef add      fill:#ecfdf5,stroke:#10b981,stroke-width:2px,color:#064e3b;
  classDef remove   fill:#fee2e2,stroke:#ef4444,stroke-width:2px,color:#7f1d1d;
  classDef decision fill:#fff4e5,stroke:#f59e0b,stroke-width:2px,color:#7a3e00;
  classDef place    fill:#dcfce7,stroke:#16a34a,stroke-width:2px,color:#14532d;
  classDef sys      fill:#f2f4f7,stroke:#475569,stroke-width:2px,color:#111827;
  classDef stop     fill:#fee2e2,stroke:#ef4444,stroke-width:2px,color:#7f1d1d;

  A["📦 Upstream execution ends<br>Products import"]:::sys
  B{"End status among<br>the triggering statuses"}:::decision
  C{"Downstream job<br>is active"}:::decision
  D["✅ Downstream execution starts<br>launchMode TRIGGERED"]:::place
  E["⛔ Chain stops here<br>nothing is started"]:::stop

  A --> B
  B -->|"yes"| C
  B -->|"no - failed, stopped, abandoned"| E
  C -->|"yes"| D
  C -->|"no"| E

  style A rx:8,ry:8
  style B rx:8,ry:8
  style C rx:8,ry:8
  style D rx:8,ry:8
  style E rx:8,ry:8

Key endpoints involved

ActionMethod & pathoperationId
Set the job after which an import job startsPUT /v2/mapper/jobs/{jobId}/upstream-jobADM-JOB-202
Read the upstream job of an import jobGET /v2/mapper/jobs/{jobId}/upstream-jobADM-JOB-502
Remove the upstream job of an import jobDELETE /v2/mapper/jobs/{jobId}/upstream-jobADM-JOB-302
List the jobs that may be chosen as upstream jobGET /v2/mapper/jobs/upstream-job-candidatesADM-JOB-553
Search the import jobs (carries launchMode and triggeredJobs)GET /v2/mapper/jobsADM-JOB-552
List the executions of a job (carries launchMode and triggeredBy)GET /v2/jobs/{jobId}/executionsADM-JOB-550

All of these require dj-client: OPERATOR and a valid dj-api-key.

Typical workflow

1. Find the jobs that can be chosen

ADM-JOB-553 lists the jobs that can be chained and tells, for each one, whether it may become the upstream job of a given job — so you never have to compute the loop rule yourself.

GET /v2/mapper/jobs/upstream-job-candidates?jobId=6b1f0c92-3d47-4e58-9a10-2f7c8e5d4b33&search=products&page=0&size=20
dj-client: OPERATOR
dj-api-key: <your-api-key>

A candidate that cannot be chosen carries the reason why: SELF for the job itself, ALREADY_IN_CHAIN for a job that already starts after it. Each line also tells how the candidate itself starts, so a chain can be read before it is extended.

2. Chain the job

PUT /v2/mapper/jobs/6b1f0c92-3d47-4e58-9a10-2f7c8e5d4b33/upstream-job
dj-client: OPERATOR
dj-api-key: <your-api-key>
Content-Type: application/json
{
  "upstreamJobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "triggeringStatuses": [
    "INTEGRATION_COMPLETED",
    "INTEGRATION_COMPLETED_WITH_WARNINGS",
    "NOTHING_TO_PROCESS"
  ]
}

201 Created when the job had no upstream job, 204 No Content when an existing one is replaced. The schedule of the job, if it had one, is removed in the same operation.

3. Read the chain in both directions

  • Upwards — ADM-JOB-502 returns the upstream job of a job and the statuses that start it:
{
  "upstreamJobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "upstreamJobName": "Products — ERP feed",
  "triggeringStatuses": ["INTEGRATION_COMPLETED", "INTEGRATION_COMPLETED_WITH_WARNINGS"]
}
  • Downwards — each job returned by ADM-JOB-552 carries a triggeredJobs array listing the jobs started directly at the end of its executions, with their active flag:
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "jobName": "Products — ERP feed",
  "launchMode": "SCHEDULED",
  "cronExpression": "0 0 4 * * *",
  "triggeredJobs": [
    { "jobId": "6b1f0c92-3d47-4e58-9a10-2f7c8e5d4b33", "jobName": "Offers — ERP feed", "active": true }
  ]
}

4. Audit an execution after the fact

Each execution returned by ADM-JOB-550 tells how it started and, when it was triggered, carries a copy of the upstream execution that started it:

{
  "id": "3f1c8e02-5a47-4c11-9d3b-70e2a9c1b845",
  "status": "INTEGRATION_COMPLETED",
  "launchMode": "TRIGGERED",
  "triggeredBy": {
    "executionId": "8e4b2a71-0c3d-4f59-b6e8-1a2d3c4b5e6f",
    "jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "jobName": "Products — ERP feed",
    "startedAt": "2026-10-03T04:00:00Z",
    "endedAt": "2026-10-03T04:13:00Z"
  }
}

triggeredBy is a copy taken when the execution was created, so the audit trail survives the removal of the link and even the deletion of the upstream job. It is null unless launchMode is TRIGGERED, and both fields are absent on executions that predate this information.

5. Unchain

DELETE /v2/mapper/jobs/6b1f0c92-3d47-4e58-9a10-2f7c8e5d4b33/upstream-job
dj-client: OPERATOR
dj-api-key: <your-api-key>

204 No Content, and the call is idempotent — a job that has no upstream job answers 204 too. The job then starts manually only, until a schedule or a new upstream job is set.

Best practices

  • Chain rather than offset schedules. Two dependent imports driven by two cron expressions either overlap or waste the margin between them. A trigger removes both failure modes.
  • Choose the triggering statuses deliberately. Including INTEGRATION_COMPLETED_WITH_ERRORS means the downstream import runs on a partially loaded reference. Leave it out when the downstream data is worthless without a clean upstream run.
  • Read the candidates from ADM-JOB-553 rather than filtering the job list yourself — it already excludes the job itself and everything that would close the chain.
  • Check the active flag of triggeredJobs before assuming a chain runs end to end: an inactive job stops it, silently and by design.
  • Use launchMode and triggeredBy to explain an execution. They are the only reliable way to tell a scheduled run from a triggered one after the fact.

Common mistakes

MistakeSymptomFix
Expecting a job to keep its schedule after being chainedThe cronExpression is nullA job starts one way only — chain it, or schedule it
Omitting triggeringStatuses or sending an empty list400 (F-E-047)At least one status is required; there is no default
Sending a status that cannot start a job (failed, stopped, abandoned)400 (F-E-047)Only the four end statuses listed above are accepted
Closing the chain (A triggers B, B triggers C, C set upstream of A)409Read the candidates with ADM-JOB-553 before offering the choice
Wondering why a chain stopped halfwayNo execution on the downstream jobCheck that every job of the chain is active — an inactive job stops it
Reading the upstream job of a job that has none404Two distinct codes tell "job not found" from "no upstream job" apart
Trying to chain the indexation job or an export job400 (F-E-048 for the indexation job)Chaining covers import jobs only, indexation excluded

For the full reference of functional codes, see Error / Warning codes.


Searching the import jobs

The import job list is paginated, searched and filtered server-side: only the rows displayed are loaded, and the counters follow the filters in place.

Endpoint: GET /v2/mapper/jobs — operationId: ADM-JOB-552 · Access: dj-client: OPERATOR

ParameterDescription
searchPart of the name of the job or of its connector, case-insensitive. Surrounding blanks are ignored, and a blank term is no filter.
genericJobTypeThe entity the job imports (e.g. PRODUCT, OFFER, ORDER).
excludeGenericJobTypeAn entity whose jobs are left out. The job list leaves out INDEXATION.
clientConfigurationTypeThe kind of connector feeding the job: API_NO_AUTH_CLIENT, API_OAUTH2_CLIENT, FTP_CLIENT, SFTP_CLIENT, MIRAKL_CLIENT, INTERNAL_CLIENT, FILE_CLIENT.
statusRUNNING (an execution is still running, whether the job is active or not), ACTIVE or INACTIVE (the job is active / inactive and runs nothing). The three values split the jobs without overlap. An unknown value is refused with a 400.
sortFormat property,(asc|desc). Default createdAt,desc. Supported properties: createdAt, jobName, id. An unknown property is ignored and the default order applies.
page / sizepage is 0-based; size defaults to 20 and is capped at 100 — a larger value is refused with a 400.

All filters combine with the search and with each other. Given none, every job of the tenant is returned.

GET /v2/mapper/jobs?genericJobType=OFFER&clientConfigurationType=SFTP_CLIENT&status=ACTIVE&search=nightly&sort=jobName,asc&page=0&size=20
dj-client: OPERATOR
dj-api-key: <your-api-key>
✅

Tip: id always closes the sort order, so paging through the results stays stable even when two jobs share a creation date.

📘

Note: Catalog indexation stays out of this list, as before.


Simultaneous execution of a job

Simultaneous execution of a job (running multiple import processes at the same time for a given job) is not allowed. This prevents data conflicts that can occur when executions modify the same records or rely on each other.

When a new execution is triggered while another is still running, the system behavior depends on the job configuration:

  • RUN_IMMEDIATELY: the new execution is queued with the status JOB_PENDING and will start as soon as the previous one completes.
  • WAIT_FOR_NEXT: the new execution is skipped with the status JOB_SKIPPED, and only the next scheduled execution will be considered.

This setting can be configured individually for each import job.

Duplicating a Job

You can create a copy of an existing job to quickly set up a similar import or export with the same configuration. This is useful when you need multiple jobs with similar mappings but different source files or schedules.

What is copied:

  • All mapping configuration and settings from the source job.

What is not copied:

  • The scheduler (cron) configuration — the new job's scheduler is reset and disabled.
  • The new job is created in an inactive state.

Naming:

  • The duplicated job is named {Source job name} - COPY. If that name already exists, a numeric suffix is added (e.g., - COPY (1), - COPY (2)).

API endpoint:

  • POST /v1/mapper/jobs/{jobId}/duplicate — operationId: ADM-JOB-100
  • Access: dj-client: OPERATOR
  • Response: 200 OK with the new job's id.
{
  "id": "a9b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Stopping a Job Execution

If a job execution becomes stuck or needs to be interrupted, operators can manually stop it directly from the Back-Office.

A "Stop execution" button is available on the job detail page for each execution currently in progress. The button is visible only when the execution is in one of the following stoppable statuses:

  • JOB_INITIALIZING
  • JOB_STARTED
  • INTEGRATION_WAITING
  • INTEGRATION_STARTED
  • JOB_PENDING
⚠️

Warning: Stopping an execution is irreversible. A confirmation dialog is displayed before the action is performed.

Once the execution is stopped, the execution list refreshes automatically. Completed or failed executions do not display the stop button.

Requirements:

  • Permission: MAPPER_WRITE

API endpoints:

Execution ID

Each job execution (import and export) is assigned a unique execution ID. This identifier is displayed in the Back-Office:

  • In the execution history list, via a dedicated column.
  • In the execution detail view, below the execution date.

A Copy button allows you to copy the ID in one click to share it with DJUST support when reporting an incident.

✅

Tip: When reporting an issue on a specific job execution, always include the execution ID. This eliminates ambiguity when multiple executions occur on the same day or at similar times.

The execution ID corresponds to the jobStatusId field (for imports) or exportIntegrationId field (for exports) returned by the API. If a job has never been executed, no ID is displayed.

Execution Reports

Two reports can be downloaded from an execution of an import job, and they are governed by two different conditions.

ReportOffered when
Download warningsThe execution ends with the status INTEGRATION_COMPLETED_WITH_WARNINGS, whether the warnings concern rows of the file or the execution itself.
Download errorsThe execution carries row-level errors. Unchanged.

A warning does not always concern a row of the file. An offer import from Mirakl, for instance, can raise an unreadable seller lead time to ship — an execution-level warning that belongs to no row. The warning report is now offered in that case too, so an execution flagged "Completed with warnings" is always readable.

The downloaded report starts with the execution-level warnings, then lists the row-level ones.

✅

Tip: An execution that ends with warnings but reports zero warning rows is not a glitch — download the report to read the execution-level warning behind the status.

Failure Notification

When an import execution fails, a notification email is sent to the configured recipient. This notification relies on the new_job_execution_failed Back Office email template.

That template now ships with a default version, so the notification is sent even on a tenant that has never configured its own content — no preliminary setup is required for a failed execution to be reported.

The email recapitulates the name and the type of the import concerned, its start and end dates and times, the recipient, a direct link to the execution, and the identifier of the failed execution.

✅

Tip: The execution identifier carried by the email is the same one described in Execution ID. Include it when reporting the failure to DJUST support — it removes any ambiguity between several executions of the same job.

A tenant that has already customised this template keeps its own content: the custom template still takes precedence over the default one. See Email templater for how to edit it and for the available variables.

Execution History — Search and Filter

The execution history for both import/indexation and export jobs can be retrieved via API with search and filter capabilities:

  • Search by ID: use the search query parameter to perform a partial match (contains) on the execution ID.
  • Filter by status: use the statuses query parameter (multi-value) to filter executions by status. Unknown status values are silently ignored.
  • Pagination: standard DJUST paginated response (content, numberOfElements, number, size, first, last, empty).
  • Sorting: configurable via the sort query parameter.

Import / Indexation jobs:

  • Endpoint: GET /v2/jobs/{jobId}/executions — operationId: ADM-JOB-550
  • Access: dj-client: OPERATOR
  • Parameters: search (partial match on execution ID), statuses (multi-value, matching job lifecycle statuses), sort (default: createdAt,desc), page, size
  • Response: 200 OK

Each execution also carries launchMode and, when it was started at the end of another execution, triggeredBy — see Audit an execution after the fact.

Identifying the processed source file

Each execution returned for an import job carries a metadata array of key/value entries. For an execution of a File import job, this array holds the snapshot of the source file:

metadata keyDescription
fileNameName of the source file processed by this execution. Kept after the file itself has been purged, so the execution history stays readable over time.
fileIdIdentifier of the source file, present only while the file is still available. The entry disappears from the array once the file has been deleted or purged.

An execution of an FTP/SFTP or API job returns an empty metadata array.

{
  "content": [
    {
      "id": "3f1c8e02-5a47-4c11-9d3b-70e2a9c1b845",
      "status": "INTEGRATION_COMPLETED",
      "createdAt": "2026-08-20T09:15:00.000Z",
      "startedAt": "2026-08-20T09:15:02.000Z",
      "endedAt": "2026-08-20T09:16:41.000Z",
      "metadata": [
        { "key": "fileName", "value": "offers-2026-08.csv" },
        { "key": "fileId", "value": "f47ac10b-58cc-4372-a567-0e02b2c3d479" }
      ]
    }
  ],
  "numberOfElements": 1,
  "number": 0,
  "size": 20,
  "first": true,
  "last": true,
  "empty": false
}
⚠️

Warning: The fileName and fileId fields previously exposed at the root of each execution have been removed from the ADM-JOB-550 response. The metadata array is now the only source for the file snapshot. Any consumer reading content[].fileName or content[].fileId must switch to the content[].metadata[] entries with the same keys.

✅

Tip: In the Back-Office, the execution history of a File import job displays a File column fed by the fileName entry, without any additional lookup. The column is not displayed on API or FTP/SFTP jobs.

Export jobs:

  • Endpoint: GET /v2/jobouts/{jobOutId}/executions — operationId: ADM-JOBOUT-550
  • Access: dj-client: OPERATOR
  • Parameters: search (partial match on execution ID), statuses (values: SUCCESS, ERROR), sort (default: executedAt,desc), page, size
  • Response: 200 OK

If no search or filter parameter is provided, all executions are returned.

Identifying the exported object

Each entry returned by ADM-JOBOUT-550 describes one export attempt on one object. Two fields let you identify that object:

FieldTypeDescription
jobOutTypeORDER | INCIDENTType of the exported object. It tells you which resource itemId and reference point to.
referencestringBusiness reference of the exported object (for example, the order reference).
itemIdstring (nullable)Internal DJUST identifier of the exported object. Use it to call the corresponding API or to build a link to the object's detail page.

Use itemId — not reference — whenever you need to fetch the exported object programmatically: it is the identifier expected by the DJUST resource APIs, so no prior lookup by reference is needed.

{
  "content": [
    {
      "id": "e7c1f2a4b93d4e51",
      "itemId": "a1b2c3d4e5f6",
      "reference": "168-123-1861251-1",
      "jobOutType": "ORDER",
      "status": "SUCCESS",
      "executedAt": "2026-08-06T09:12:45.000Z"
    },
    {
      "id": "9f3b7d18c2ae4b60",
      "itemId": null,
      "reference": "168-123-1743902-1",
      "jobOutType": "ORDER",
      "status": "ERROR",
      "executedAt": "2025-11-14T17:03:12.000Z"
    }
  ],
  "numberOfElements": 2,
  "number": 0,
  "size": 20,
  "first": true,
  "last": true,
  "empty": false
}
⚠️

Warning: itemId is null for executions that ran before the field was introduced. Historical executions cannot be linked back to their object, so always handle the null case instead of assuming an identifier is present.

✅

Tip: In the Back-Office, the reference displayed on each export execution is a direct link to the exported object's detail page. Executions with itemId: null are displayed as plain text, without a link.

Adding itemId is a backward-compatible change: no existing field of the response has been modified or removed.

⚠️

Deprecation: The following legacy endpoints remain functional but are deprecated. Migrate to the v2 endpoints listed above.

  • GET /v1/mapper/status/all/{jobId} → replaced by GET /v2/jobs/{jobId}/executions
  • GET /v1/mapper/jobout/{jobOutId}/exported-item-statuses → replaced by GET /v2/jobouts/{jobOutId}/executions

Import Full Mode

By default, when an import file (CSV or API Connector) sends a null or empty value for an attribute or custom field, the existing value in DJUST is preserved — the field is not modified.

When the Import Full mode is enabled on a job, the behavior changes:

  • Attributes whose value is null in the import file are deleted from the target entity.
  • Custom fields whose value is null are also deleted from the target entity.

This mode is useful when you need to keep your DJUST data in perfect sync with an external source system (e.g., ERP or PIM), including the removal of values that no longer exist in the source.

Configuration

The import mode is configured as a boolean parameter on import job configuration:

  • Default value: false (standard mode — null values are ignored, existing data is preserved)
  • Configurable at: job creation and job update
  • Visible in: job read (GET /job/{id})
  • Applies to: CSV/SFTP, API Connector, and Mirakl import jobs

Scope of the import mode

The import mode applies differently depending on the type of data:

  • For attributes: the import mode is configured at the Product job level. When enabled, attributes with null values in the import file are deleted from the product.
  • For custom fields: the import mode is configured per entity. Each of the following entity types has its own toggle: Offer, Supplier, Account, Navigation Category, Classification Category, Customer User, and Order. This allows you to enable full synchronization for some entities while keeping standard mode for others.
⚠️

Warning: Enabling Import Full mode means that any attribute or custom field not present (or set to null) in the import file will be removed from the entity in DJUST. A confirmation warning is displayed in the Back-Office before saving a job with this mode enabled. Make sure your import files contain the complete set of values you want to retain.

✅

Tip: All existing jobs retain the default behavior (standard mode). No action is required unless you explicitly want to enable full synchronization.


🧩 Entity-Based Configuration

Jobs are entity-specific, meaning each job is designed to handle a single type of data within DJUST.

The availability of each entity depends on the chosen method (SFTP or API Connector) as not all entities are supported across both.

Importable Entities per Method

EntityJob objectivesSFTPAPI Connector
ACCOUNTCreate or update your Customer Accounts✅✅
ASSORTMENTCreate or update your Assortments✅✅
ATTRIBUTECreate or update your Attributes✅❌
CATALOG_VIEWCreate or update your Catalog Views❌✅
CLASSIFICATION_CATEGORYCreate or update your Classifications✅❌
CUSTOMER_USERCreate or update your Customer Users✅❌
INCIDENTUpdate your Incident status❌✅
NAVIGATION_CATEGORYCreate or update your Navigations✅❌
OFFERCreate or update your Offers (inventory and price)✅✅
ORDERCreate or update External Orders
Update your Internal Orders
✅✅
ORDER_UPDATEUpdate your Internal Orders❌✅
ORDER_STATUSUpdate your Order Status✅
(XML only)
✅
PRODUCTCreate or update your Products✅✅
PRODUCT_TAGCreate or update your Product Tags✅❌
RELATED_PRODUCTCreate or update your Related Products✅❌
STORECreate or update your Stores✅❌
SUPPLIERCreate or update your Suppliers✅✅

Exportable Entities per Method

EntityJob objectivesSFTPAPI Connector
ORDERExport your Orders information✅✅
INCIDENTExport your Incidents information❌✅

Automatic Export Settings

The general settings exportOrderEnabled and exportIncidentEnabled (returned by GET /v1/settings/general) are automatically managed by the platform based on export job lifecycle:

  • When an export job is created (ORDER or INCIDENT), the corresponding setting is automatically activated.
  • When the last export job of a given type is deleted, the corresponding setting is automatically deactivated.

These two fields are read-only via the API: they are returned by GET /v1/settings/general but silently ignored when sent in a PUT /v1/settings/general or PATCH /v1/settings/general request. No action is required from integrators — existing API calls continue to work as before.

⚠️

Warning: PUT /v1/settings/general is deprecated. Use PATCH /v1/settings/general for partial updates — only the fields you provide are modified, avoiding accidental overwrites of other settings.

✅

Tip: You do not need to manually manage these settings. Simply create or delete export jobs, and the platform keeps the settings in sync automatically.


🏪 Multi-Store Behavior

  • By default, import jobs are cross-store.
  • The NAVIGATION import via FTP must always be scoped to a store within the Navigation Job Configuration.
  • ORDER import jobs can optionally be scoped to a specific store using the storeExternalIds parameter (via POST /v2/mapper/jobs or PUT /v1/mapper/jobs/{jobId}). When configured, all imported orders are assigned to the default store view of the specified store. Without this parameter, orders are assigned to the default store view of the tenant's default store. If the referenced store is invalid or does not exist, the job creation or update returns an HTTP 400 error.

Entity Dependencies

Some entities depend on others being imported first. While the overall import sequence can be adjusted, respecting these dependencies ensures data consistency and prevents import errors.

Here is a recommended import order based on data prerequisites:

EntityPrerequisitesNotes
Attribute—Must be created before using in classifications or products.
Supplier—Required before Offers.
Account—Represents a B2B customer entity.
Store—Represents a store in the merchant website
ClassificationAttributeNeeded before importing Navigation or Products.
NavigationClassificationRelies on existing classification structure.
ProductClassificationMust be imported before Offers, Tags, and Assortments.
OfferProduct, SupplierLinks a product to a supplier with commercial terms.
Product TagProductCannot be imported before products exist.
Related ProductProductCannot be imported before products exist.
AssortmentProductAssortments group products and require products to be available.
Customer UserAccountA user is always linked to an existing account.


Data Trimming

During import (both CSV/SFTP and API Connector), leading and trailing whitespace characters are automatically trimmed from all field values. Internal spaces within a value are preserved.

Input valueAfter trimming
" my value ""my value"
" leading space""leading space"
"trailing space ""trailing space"
"value with spaces""value with spaces"

This applies to both import and export mapping fields.


📌

Best Practices

✔️ Only run jobs for data that has actually changed. Avoid full re-imports unless necessary, especially for large catalogs.

✔️ Importing entities in the correct order helps avoid failures due to missing references


Did this page help you?