Multipack Resources
A multipack is a discount rule which applies to a set of different admissions, when the discount applies only to those admissions and not all admissions of the same type. Multipack discounts are applied so as the give the buyer the greatest possible discount, and are slow to compute so should not be used for large orders.
Not all IWannaTicket customers have a need for multipacks, so this feature is not available by default. If you feel you could benefit from this feature, please ask your account manager.
Get Multipack Definition
- Description
- Gets the details of a Multipack.
- Method
- GET
- URL
- https://api.iwannaticket.com.au/api/v2/multipack/{id}
Output
Name | Type | Description |
---|---|---|
name | String | The name of the multipack for display. |
ruleName | String | The prebuilt multipack rule which determines the meaning of other fields of the definition. |
partitionTag | String | A tag used to select the set of tickets which could be in the multipack. |
quantity | Number | The number of tickets in the multipack. |
discountType | String | The prebuilt rule for how to apply a discount to tickets in the multipack. |
discountAmount | Number | A number to be used by the discount rule, e.g. percentage off. |
enabled | Boolean | Whether the multipack is currently enabled. |
Create Multipack
- Description
- Creates a new Multipack. The new multipack will not be enabled.
- Method
- POST
- URL
- https://api.iwannaticket.com.au/api/v2/multipack
Input
Name | Type | Description |
---|---|---|
name | String | The name of multipack for display. |
ruleName | String | The prebuilt multipack rule which determines the meaning of other fields of the definition. |
partitionTag | String | A tag used to select the set of tickets which could be in the multipack. |
quantity | Number | The number of tickets in the multipack. |
discountType | String | The prebuilt rule for how to apply a discount to tickets in the multipack. |
discountAmount | Number | A number to be used by the discount rule, e.g. percentage off. |
Enable Multipack
- Description
- Enables or disables a multipack.
- Method
- PUT
- URL
- https://api.iwannaticket.com.au/api/v2/multipack/{id}/enable/(true|false)