# Sync Orders **POST /ordersync** Send the full list of currently-open order numbers from your shop. Komfortkasse marks any of its open orders for this shop that are NOT in the submitted list as `LEGACY` (i.e. no longer tracked) and updates `lastSeen` for the rest. Returns the number of orders that were marked `LEGACY`. Allow a timeout of at least 10 minutes for this operation. ⚠️ **Warning:** You must always send the **complete** list of currently-open orders in your shop. Any open order not present in the list will be marked `LEGACY` and stop being tracked by Komfortkasse — including reminder, collection and refund processing. Sending a partial list is destructive. ## Servers - Production: https://ssl.komfortkasse.eu/api/v2 (Production) ## Authentication methods - Api key ## Parameters ### Body: application/json (array[string]) array[string] ## Responses ### 200 Number of orders that were marked as `LEGACY`. #### Body: application/json (integer) integer ### 400 Invalid request — for example missing required fields or wrong format. #### Body: application/json (object) - **error** (string) Error message. ### 401 Authentication failed — API key missing or invalid. #### Body: application/json (object) - **error** (string) Error message. ### 404 Resource not found (e.g. unknown order number). #### Body: application/json (object) - **error** (string) Error message. [Powered by Bump.sh](https://bump.sh)