API reference
Callbacks and Webhooks
Description
This section documents the integrations where the CWS Platform initiates the communication and sends data to your store's system. Unlike the other sections of this collection, here we describe the endpoints that you will need to build to receive our calls.
There are two types of communication initiated by CWS:
Synchronous (Callbacks): CWS makes a call and waits for an immediate response to continue a process. E.g.: Tax calculation.
Asynchronous (Webhooks): CWS sends a notification about an event that occurred and does not wait for a response to continue its processes. E.g.: Notification of new orders and customers.
What you build on your side
- Asynchronous webhook Orders webhook
Short order notice, with id and status.
- Asynchronous webhook Orders webhook, full payload
The whole order in the notification body.
- Asynchronous webhook Customers webhook
Customer created or updated on the platform.
- Synchronous callback Tax calculation callback
Synchronous call: your ERP returns the taxes per item.
Generated from the public API collection, published on 2026-09-04: api-docs.cws.digital.