Webhooks
Discount Events
225,518 trueleft unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type { "event id" "whev 8zpqdnwj5h4g3q9km", "event type" "discount created", "api version" 2, "object" "event", "data" { "discount" { "id" "f23b029d 58dd 4bab 8cf1 a89d3ebb8f6d", "label" "black friday shipping discount", "currency" "eur", "percent off" 0, "amount off" 0, "shipping percent off" 0, "shipping amount off" 10, "active" false, "type" "product discount", "object" "discount", "payments" \[ "all" ], "created at" "2022 11 22 20 30 55 +0000", "expiry date" null, "block affiliates" true, "destinations" \[ "worldwide" ], "condition" "coupon", "applies to" "all products", "rule amount" null, "subscription discount duration" "once", "number of months" null, "domain" null, "coupon" "blackfriday", "coupon max redemptions" 100, "coupon times redeemed" 0 } }, "endpoint id" "5dcbcd22 c0e5 4003 8223 e367ce5eb8bf" }{ "event id" "whev 9mv3kp1wcyw84npp", "event type" "discount updated", "api version" 2, "object" "event", "data" { "discount" { "id" "f23b029d 58dd 4bab 8cf1 a89d3ebb8f6d", "label" "black friday order discount", "currency" "eur", "percent off" 0, "amount off" 30, "shipping percent off" 0, "shipping amount off" 0, "active" false, "type" "product discount", "object" "discount", "payments" \[ "all" ], "created at" "2022 11 22 20 30 55 +0000", "expiry date" null, "block affiliates" true, "destinations" \[ "worldwide" ], "condition" "coupon", "applies to" "all products", "rule amount" null, "subscription discount duration" "once", "number of months" null, "domain" null, "coupon" "blackfriday", "coupon max redemptions" 100, "coupon times redeemed" 0 }, "changes" \[ "label", "amount off", "shipping amount off" ] }, "endpoint id" "5dcbcd22 c0e5 4003 8223 e367ce5eb8bf" }{ "event id" "whev 4ykvk85rh5ypwenv", "event type" "discount removed", "api version" 2, "object" "event", "data" { "discount" { "id" "1babf08f a207 45c9 98b0 56b13caae210" } }, "endpoint id" "5dcbcd22 c0e5 4003 8223 e367ce5eb8bf" }