Event GroupEvent Identification
appsapps/installed_uninstalled
Send a corresponding incident notification to the developers of the application when installing / uninstall applications in the store
Request Headers
  • X-Shopline-Topic string required
    Event operation identification
    Example: orders/edited
  • X-Shopline-Hmac-Sha256 string required
    Signature
    Example: XWmrwMey6OsLMeiZKwP4FppHH3cmAiiJJAweH5Jo4bM=
  • X-Shopline-Shop-Domain string required
    Shop domain
    Example: shophub.myshopline.com
  • X-Shopline-Shop-Id string required
    Shop ID
    Example: 1610418123456
  • X-Shopline-Merchant-Id string required
    Merchant ID
    Example: 2000001234
  • X-Shopline-API-Version string required
    Version
    Example: v20210901
  • X-Shopline-Webhook-Id string required
    Message ID
    Example: b54557e48a5fbf7d70bcd043
Request Body
  • appkey string
    App unique logo
    Example: 35f91ba37b941e6ce5fcc67975ab7aafb0a12345
  • country_code string
    Country code where the store is
    Example: cn
  • created_at string
    Time for this subscription message , yyyy-MM-dd'T'HH : mm : ss.SSSXXX store time zone
    Example: 2024-04-01T14:01:23+08:00
  • handle string
    Store hadle : string in the front of the domain name " .mysholine.com "
    Example: SHOPLINE
  • merchant_id string
    Merchant id
    Example: 2000001234
  • name string
    Store name
    Example: SHOPLINE Store
  • operate string
    Indicate whether the current operation is installed or uninstalled ; value includes : " INSTALL " ( installed ) and " UNINSTALL " ( uninstalled )
    Example: UNINSTALL
  • store_id string
    store ID
    Example: 1610418123456
  • timestamp long
    Time stamp for the time generated by this subscription message
    Example: 1293941471000
  • timezone string
    Time zone where the store is
    Example: Asia/Singapore
Response
After receiving a webhook notification from SHOPLINE, you must respond with the following format:
HTTP/1.1 200 OK
For more information about how to subscribe to webhooks and webhook response rules, refer to Webhook overview.
Was this article helpful to you?