Shopware assigns a consecutive number (Auto-Increment) to orders. The connector uses this number to retrieve only new orders during the download.
How it works
The download filters on autoIncrement >= <last value + 1>.
This way, orders that have already been loaded are not processed again.
Use Page and Limit to control the volume per run.
Defining the starting value
For the very first download, you use Shopware Start AutoIncrement to define the order from which loading should begin. This lets you deliberately skip older legacy orders.
Set the starting value
Enter the start AutoIncrement you want in the configuration.
Initial download
Start the Download Orders report. The starting value is suggested.
Ongoing operation
After that, every run automatically loads from the last order loaded + 1.
During the download, the Auto-Increment must be at least equal to the configured starting value. This prevents accidental duplicate imports of legacy orders.
The order download calls search/order (POST) with a range filter on the autoIncrement field (type=range, gte={last value + 1}). This means that only orders with a higher auto-increment number are loaded; orders that have already been imported are left out. “Page” and “Limit” (default 500) control the volume per run.
The starting value defines the auto-increment number at which the very first download begins – this lets you skip legacy orders in a targeted way. The connector makes sure that the auto-increment used is at least equal to this starting value, which prevents accidental duplicate imports.
Yes. The “SOUSHW Order Mgnt.” codeunit is Job Queue-capable and loads from “last auto-increment + 1” on every run. This way, a Job Queue Entry (for example, every 15-30 minutes) automatically retrieves only the new orders.
