The benefits objects describe benefits that members can use and are added to OfficeRnD.
You can retrieve an individual benefit as well as query all the events by location, company or member.
Here is the list of the benefit object properties:
Benefit
Property | Type | Required | Description |
---|---|---|---|
locations | Locations | falsе | An array containing the _ids of locations for which the benefit applies. If left empty the benefit will apply for all locations. |
name | string | true | The name of the benefit. |
description | string | false | A short description of the benefit. |
category | string | false | The category of the benefit. If you create multiple benefits with matching categories, they'll be grouped in the members portal under the same category. |
url | string | false | An external URL associated with the benefit. |
image | string | false | The image of the benefit. |
coverImage | string | false | The cover image of the benefit. |
content | string | false | A longer description of the benefit. |