pro_deal.ended
The Pro Deal ended. Disable its codes that were not used. No code.deactivate is sent for them.
webhook-id*stringUnique id of the event; the same on every retry. Use it to ignore duplicates.
"msg_2pQ7d1Xk9aLr4Bz"webhook-timestamp*stringSeconds since the Unix epoch when this attempt was signed.
"1794928811"webhook-signature*stringSpace-separated v1,<base64 HMAC-SHA256> signatures (Standard Webhooks).
"v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4="application/json- body
The body of every event, following Standard Webhooks.
type*string"code.deactivate""pro_deal.ended"timestamp*stringWhen the event happened.
date-timedata*Answer any 2xx once the event is stored; anything else is retried.
{ "type": "pro_deal.ended", "timestamp": "2026-12-31T23:59:59Z", "data": { "proDealId": "6730f1c2a9d4e5b6c7d8e9f0", "endedAt": "2026-12-31T23:59:59Z" }}{ "webhook-id": "msg_2pQ7d1Xk9aLr4Bz", "webhook-timestamp": "1794928811", "webhook-signature": "v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4="}code.deactivate Webhook
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.
Use these docs with AI
Give your AI assistant or coding agent the whole ENDVR API in one go.