This section is for developers who want to extend the default catalog syncing process and modify the data according to their business needs.
To configure the Webhook URL, fill in the following field. You will receive webhook requests before and after each syncing process, along with their respective topics.
Currently, we support the following topics:
Before Products Sync (before_products_sync)
The webhook requests will have the following specifications:
- Request Method: POST
- Header: x-store-secret – This is the store secret configured on the configuration page, which helps verify the authenticity of the request.
- Request and Response Content-Type: application/json
- Payload: The payload will contain two keys: data and topic. The data key will be in JSON format, as detailed in our Documentation.
Please return the modified data in the response, also in JSON format.
[Refer to the following image for a better understanding]