Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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 
        ) 

) 
KeyTypeDescription
client_idstringThis is the unique client ID.
endpointstringURL to the clients site.
clientarrayClients details, which include their email, first & last name.
productarrayIncludes what product the client installed and how much they paid (If free, it will be 0).
autharrayThis is the public and private key for your app, which you can identify as a valid webhook coming from our servers.
  • No labels