GET /v2/event/templates/{templateId}/entitlements

Gets the entitlements config for the event template ID


Input:

templateId - path variable, required. The event template Id


Header

x-acme-api-key 


Output:

The entitlements config object.


POST /v2/event/templates/{templateId}/entitlements

Gets the entitlements config for the event template ID

Input:

templateId - path variable, required. The event template Id

entitlementsConfigObject - Request body, required. The entitlement configuration for the event template.

Output:

The entitlements config object.


PUT /v2/event/templates/{templateId}/entitlements

Gets the entitlements config for the event template ID

Input:

templateId - path variable, required. The event template Id

publish - boolean, optional, defaults to false.

entitlementsConfigObject - Request body, required. The entitlement configuration for the event template.

Output:

The entitlements config object.


NO SUPPORT FOR DELETE OPERATION YET.


The appropriate operations will also happen automatically while performing GETs, POSTs and PUTs for an event template.


Entitlement config object:

Sample JSON:

There are 3 rules under entitlementConfig

  1. Member rules - Currently exists in prod
  2. limit sales of private party to 1 per instance (ridge use case)
  3. prevent sales of private party if Adult, Senior is greater than 5 per event instance (ridge use case)


Entitlement config Expand source

1.Limit sales of private party to 1 per instance (ridge use case)

2. Prevent sales of private party if Adult, Senior is greater than 5 per event instance (ridge use case)

Sales Rules Expand source


ruleApplies - forEachItem, acrossAllItems
timeFrame.period - day,week,month,year,lifetime