Badge Type Discount

Manages the relationships between BadgeTypes and the Discounts that may be used on them. Badge Type Discounts are accessed via /api/badgetypediscount.

Properties

See "Object Properties" in Introduction for basic shared properties.

Complete details in BadgeTypeDiscountProperties.

Related Objects

See "Related Objects" in Introduction for how to use them.

badgetype

The BadgeType this badgetypediscount belongs to.

discount

The Discount this badgetypediscount belongs to.

Services

The services used to fetch and manipulate badge type discounts.

Create Badge Type Discount

 POST /api/badgetypediscount
Required Params
session_id
badgetype_id
discount_id

Returns the same as a normal read.

Read Badge Type Discount

 GET /api/badgetypediscount/xxx

Returns:

 {
   "id" : "xxx",
   "badgetype_id" : "xxx",
   ...
 }

Update Badge Type Discount

 PUT /api/badgetypediscount/xxx

Returns the same as a normal read.

Delete Badge Type Discount

 DELETE /api/badgetypediscount/xxx

Returns:

 {
   "success" : 1
 }