All case studies
04 / 04 · Integration / Production Systems

Business systems & integrations

Connecting online shops, ERP, CRM and other business systems through APIs and SQL Server, including investigation of issues in production.

SQL ServerAPIE-commerceProduction Support
Data flow diagram: an online shop sends orders through a REST API to SQL Server, then on to ERP and reporting systems
Concept illustrationOne order traced from the shop to the back office using a correlation ID (fictional data).
CONTEXT

About the project

Microsoft SQL ServerT-SQL & DMVsREST APIsE-commerce, ERP & CRMCorrelation IDs & loggingIdempotent retries

In a growing company one order touches several systems: the online shop, a payment provider, an API, a SQL Server database, stock, invoicing, CRM and reporting. When something goes wrong, such as a duplicated order, a missing stock movement or an invoice that never arrives, the cause is rarely where the symptom appears.

I build integrations between business systems through APIs and SQL Server and diagnose production issues. I follow a single operation across all systems using correlation identifiers and logs, check database behaviour such as locks, blocking and missing indexes, and review how retries and timeouts are handled.

Fixes are made at the root cause and verified end to end: the operation is repeated, the source and target data are reconciled, and the incident path stays traceable for the next time.

01 / CHALLENGE

The challenge

When multiple systems exchange data, small inconsistencies can disrupt real-world operations and become difficult to trace. Problems often appear only under load, at the end of the month or after a network interruption, and each system's logs tell only part of the story.

02 / APPROACH

How I approached it

I trace the entire flow, analyse errors and database behaviour, and favour changes that can be validated end to end. Where it helps, I add correlation identifiers, idempotent operations and clearer logging so the next issue is faster to find.

03 / DELIVERY

What was delivered

Integration and diagnostics work connecting business systems, application interfaces and SQL Server: API integration, data mapping between shop, ERP and CRM, SQL Server performance and blocking analysis, retry and duplicate handling, logging improvements and production support.

WORKFLOW OVERVIEW

How it works / how I work

A simplified workflow, not a screenshot of a client's private environment.

01

Trace

Follow data across connected services

02

Investigate

Inspect APIs, SQL and error paths

03

Validate

Check the corrected behaviour end to end

SCOPE

Scope and outcomes

  • API integrations
  • SQL Server
  • E-commerce, ERP and CRM
  • Production troubleshooting
ENGINEERING DECISIONS & VERIFICATION

The technical decisions that matter

Design and trade-offs

  • Trace data flows among online shops, APIs, databases and back-office applications.
  • Handle consistency, retry policies and duplicate transaction detection.
  • Capture correlation identifiers and decision logs without exposing confidential payloads.

Acceptance checks

  • Test the full business operation across dependent systems.
  • Cover failures, timeouts, retries and rollback cases.
  • Reconcile source and destination state and retain a traceable incident path.

No private transaction records, client schemas or unverifiable business outcomes are published.

FAQ

Frequently asked questions

How do you find the cause of SQL Server slowdowns or blocking?

I use SQL Server's dynamic management views and execution plans to see which sessions are waiting, which transaction is blocking them and why, for example a long transaction or a missing index, and then fix that cause and measure again.

Can you connect our online shop with ERP, CRM or invoicing?

Yes. I connect shops and business applications with APIs, databases and back-office systems, with attention to data mapping, error handling, retries and reconciliation between source and target.

Do you help with urgent production issues?

Yes. Production troubleshooting is a regular part of my work: I start by limiting the impact, then trace the cause and agree a permanent fix.

NEXT CASE STUDY

Digital Signage for business advertising

Explore next case

Your project could be next.

Tell me what you want to improve.

Let's talk