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.
POST
/ordersync
curl \
--request POST 'https://ssl.komfortkasse.eu/api/v2/ordersync' \
--header "X-Komfortkasse-API-Key: $API_KEY" \
--header "Content-Type: application/json" \
--data '["123456","123457"]'
Request example
[
"123456",
"123457"
]
Response examples (200)
42
Response examples (400)
{
"error": "Invalid request"
}
Response examples (401)
{
"error": "API Key missing"
}
Response examples (404)
{
"error": "Order not found"
}