This webhook is triggered whenever any item events or discounts are altered on your account.
Because of their similarities, Item Events and Discounts are both called "rates". When
fields have specific meanings for either Item Events or Discounts, those differences are defined
in the Description column.
A JSON, XML, or x-www-form-urlencoded object containing the following export fields can
be found in directly in the raw body of the POST request to your server:
A unique code used to refer to this rate
The name of this rate
Item Events: "SP" for "Special" events, "SE" for
Discounts: "DC" for "Discount"
The date (yyyymmdd) when this rate starts to apply
The date (yyyymmdd) when this rate stops applying
(0 if the rate has no end date)
The "Force item length to
the above start and end dates" option
(1 if selected, 0 if not selected)
If applicable, the type of price modification for
this rate ("Base Price" is "B",
"Create new Price Point" is "N", "Dynamic" is "D",
"Yield" is "Yield")
If this event is a "Dynamic" price rate
(price_src is "D"), this value holds the
rate's percent change or fixed amount price.
Dynamic Price rates: "P" for percent, "F" for
Item Events: whether this is an available ("A")
or unavailable ("U") event.
Discounts: always available ("A")
If the rate is not recurring, this value is blank.
Weekly recurring events are "W", "Always" recurring
events are "*".
If the rate is enabled, 1, otherwise
0 when disabled.
The ruleset id applying to this
event. The default ruleset id is 1.
number of vouchers attached to this discount.