Manages the relationships between BadgeTypes and the Discounts that may be used on them.
Badge Type Discounts are accessed via /api/badgetypediscount
.
See "Object Properties" in Introduction for basic shared properties.
Complete details in BadgeTypeDiscountProperties.
See "Related Objects" in Introduction for how to use them.
The BadgeType this badgetypediscount belongs to.
The Discount this badgetypediscount belongs to.
The services used to fetch and manipulate badge type discounts.
POST /api/badgetypediscount
Returns the same as a normal read.
GET /api/badgetypediscount/xxx
Returns:
{ "id" : "xxx", "badgetype_id" : "xxx", ... }
PUT /api/badgetypediscount/xxx
Returns the same as a normal read.
DELETE /api/badgetypediscount/xxx
Returns:
{ "success" : 1 }