An API lets one system request data or perform an action in another. A webhook sends a notification when an event occurs. A store integration can receive a paid-order event through a webhook and then request the current order details through an API.
Choose the method by task
| Task | Typical approach |
|---|---|
| Read current catalogue prices | Request through an API |
| Learn that an order changed | Receive a webhook if the event is supported |
| Reconcile missed notifications | Query records or replay events as supported |
| Update an address | Send an authorised API update |
Check the provider’s authentication, event identifiers, rate limits, and retry rules. A provider might send a notification twice. Record an event or operation identifier so the same message cannot post the same payment twice. Monitor failed processing and keep a way to reconcile records with the source.
FAQs
Can webhooks replace APIs?
An integration often uses both. The event signals a change and the API retrieves the latest record.
Do events always arrive in order?
Check the provider’s guarantees and plan for delayed or out-of-order delivery when needed.
Is periodic polling enough?
It can work when delays are acceptable and the provider allows the request volume.
Review Titanium’s development and integration scope and identify which updates need to arrive immediately.