← All articles

Products & ventures

The second integration:
turning an API into a product

Shared contracts, safe retries and clear support boundaries make the next partner easier to bring on board.

Conceptual studio illustration of modular components arranged around a shared blue core.
Editorial illustration

An API becomes commercially useful when another organisation can build on it with a reasonable amount of effort and confidence. A successful first integration demonstrates that the service can work. The second starts to reveal the cost of repeating it.

That cost reaches beyond writing a connector. It includes explaining the data, agreeing what success means, recovering from failures and supporting the partner after launch. Productisation means making those parts reusable too.

Two partners, one product

Consider a hypothetical service that publishes restaurant prices. Partner A supplies tills; Partner B operates an ordering platform. Both need the right price to reach the right venue, but their systems behave differently.

DifferencePartner A: tillsPartner B: ordering
Venue identityLocal till identifiersOutlet codes
TimingScheduled overnight changesImmediate publication
CompletionUpdates applied in batchesResults returned per outlet

The shared product needs a consistent representation of a venue, price, currency, effective time and publication result. Each connector translates between that model and the partner’s system. The product team must decide which differences belong in configuration and which require an explicit capability boundary.

A partner that cannot schedule changes should not appear to support scheduling. Documenting that limitation is part of making the product dependable.

Define the contract’s behaviour

The OpenAPI Specification provides a language-neutral description of HTTP interfaces. It is a useful place to define operations, request and response schemas, and authentication requirements. A shared contract gives both partners a concrete reference for implementation and testing.

The surrounding guidance must explain what the responses mean. Does “accepted” mean the request passed validation, entered a queue or reached the till? Can one venue fail while others succeed? Which system owns the final status?

For this example, acceptance and publication should be separate states. Give the partner a publication reference and a way to discover each venue’s outcome. A support conversation can then begin with an identifiable operation and its recorded outcome.

Make retries safe

Suppose Partner B sends a price publication, the service processes it, and the response is lost. A timeout leaves the partner uncertain about the outcome. Repeating the request could start the same work again.

AWS’s guidance on idempotent APIs describes using a caller-provided request identifier to recognise repeated intent. It also covers returning a meaningful equivalent response, handling changed parameters and deciding how long to retain request records.

Applied here, the contract could require a unique key for each publication. The partner reuses that key when retrying the same operation; a different price change receives a new key. Define what happens if the same key arrives with a different payload, and publish the retention window. Test a lost response and a delayed retry before treating the connector as ready.

Give change a policy

The second partner also creates a compatibility obligation. Changing a required field or its meaning can interrupt another company’s operation, even when the change looks small inside the product team.

GitHub’s API versioning documentation gives concrete examples of breaking changes, including renamed fields, new required parameters and changed validation rules. It pairs version selection with migration guidance and a defined support period.

Choose a policy appropriate to the service: how partners select a version, how changes are announced, what remains supported and when migration must happen. Run compatibility tests against supported contracts. A version number is useful only when the behaviour behind it is predictable.

Productise onboarding

A reusable integration needs a route from first contact to live operation. Provide sample payloads, test credentials, a sandbox with representative failures, and a checklist for venue mapping, permissions and publication results.

Give the partner tests for duplicate requests, invalid prices, unavailable destinations and partial completion. Agree who investigates each failure and what information must accompany an escalation. Documentation should make the next step obvious when a test fails.

Watch where onboarding still needs a meeting with the original developer. Those questions often reveal missing examples, ambiguous rules or a configuration step that belongs in the product.

Measure commercial repeatability

Track time to the first successful test, engineering hours per launch, partner-specific code and support effort after go-live. Separate reusable product investment from recurring partner work so the economics remain visible.

Some bespoke work may be commercially sensible. Price it deliberately and decide who maintains it. A growing collection of undocumented exceptions makes future delivery estimates and margins harder to trust.

The second integration is a practical test of the proposition: can another partner understand the contract, complete onboarding and operate the service within an acceptable cost? The answer helps determine what to standardise before pursuing the third.

More to explore

Keep reading.

All articles

Let’s work on what comes next.

Start a conversation.