If you sell a product in our store you can define webhooks, which get executed when a product of yours get installed or uninstalled. To define these webhooks log into our store. Manage one of your products and click on Webhooks.
When a product has been installed or uninstalled by a client we send POST data, which include the following example
Array
(
[client_id] => 895a20081f9b4bd525a45dae693f07fa
[endpoint] => http://www.localhost.com/
[client] => Array
(
[email] => client@email.com
[first_name] => Raymond
[last_name] => Benc
)
[product] => Array
(
[id] => 1226
[paid] => 18
)
[auth] => Array
(
[id] => 454ddc73ae7e1fef2efc7fa7056d75f5
[key] => 89f91f85ace75d1e5a314433e8e09b68
)
)
| Key | Type | Description |
|---|---|---|
| client_id | string | This is the unique client ID. |
| endpoint | string | URL to the clients site. |
| client | array | Clients details, which include their email, first & last name. |
| product | array | Includes what product the client installed and how much they paid (If free, it will be 0). |
| auth | array | This is the public and private key for your app, which you can identify as a valid webhook coming from our servers. |
