Methods
create(data, promotion) → {Object}
Create a new coupon
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | Coupon information. Check Thinkific API docs for properties needed |
promotion |
Number | Id of promotion related to coupon |
- Source:
Returns:
Resource created.
- Type
- Object
find()
Not implemented for coupons
- Source:
getList(promotion) → {Iterable}
Get the first page of a list of coupons
Parameters:
Name | Type | Description |
---|---|---|
promotion |
Number | Id of promotion related to coupon |
- Source:
Returns:
A list of coupons
- Type
- Iterable