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.

application/json

Body Required

array[string] array[string]

Order numbers of currently-open orders in your shop.

Responses

  • 200 application/json

    Number of orders that were marked as LEGACY.

    Number of orders marked as LEGACY.

  • 400 application/json

    Invalid request — for example missing required fields or wrong format.

    Hide response attribute Show response attribute object
    • error string Required

      Error message.

  • 401 application/json

    Authentication failed — API key missing or invalid.

    Hide response attribute Show response attribute object
    • error string Required

      Error message.

  • 404 application/json

    Resource not found (e.g. unknown order number).

    Hide response attribute Show response attribute object
    • error string Required

      Error message.

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"
}