Webhooks
code.deactivate
A code must stop working in your store: disable or delete the discount code. Sent when the brand removes an associate from a Pro Deal or the associate leaves a targeted store. Codes already used are not sent.
webhook-id*stringUnique id of the event; the same on every retry. Use it to ignore duplicates.
Example
"msg_2pQ7d1Xk9aLr4Bz"webhook-timestamp*stringSeconds since the Unix epoch when this attempt was signed.
Example
"1794928811"webhook-signature*stringSpace-separated v1,<base64 HMAC-SHA256> signatures (Standard Webhooks).
Example
"v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4="application/json- body
The body of every event, following Standard Webhooks.
type*stringValue in
"code.deactivate""pro_deal.ended"timestamp*stringWhen the event happened.
Format
date-timedata*Answer any 2xx once the event is stored; anything else is retried.
Example Requests
POST/code.deactivate
application/json
{ "type": "code.deactivate", "timestamp": "2026-11-17T15:20:11Z", "data": { "proDealId": "6730f1c2a9d4e5b6c7d8e9f0", "code": "PRO-7KQ2-XM4D", "reason": "associate_left_store" }}{ "webhook-id": "msg_2pQ7d1Xk9aLr4Bz", "webhook-timestamp": "1794928811", "webhook-signature": "v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4="}