Webhook setting guide

  • Your endoint URL: http://webhook.endpoint.url

  • Method: POST

  • CURL Example:

curl -X POST "http://webhook.endpoint.url" \
     -H "X-QuoteSnap: $signature" \
     -d '{
           "product_list": YOUR_PRODUCT_LIST_JSON,
           "customer_info": YOUR_CUSTOMER_INFO_JSON
         }'
  • Headers:

    • Contains X-QuoteSnap which is an HMAC hash encrypted by SHA256 and serves as the signature from the QuoteSnap Server sent to the Client Server.

    • The signature is encrypted using SHA256, with the key being the apiKey generated on the settings screen and the data being the shop name (e.g., mystore.myshopify.com).

    • The Client Server should verify this HMAC to ensure that the request is sent from the QuoteSnap Server.

    • Header example:

"X-QuoteSnap: $signature"
  • Request:

    • Data type: Object

    • Request data example: