Add a new set of day passes

Add a new set of day passes

Required scopes: flex.space.passes.create

Path Params
string
required

organization slug

Body Params
date-time
required

The start date of the monthly recurring passes. Should be used only for credits with "intervalLength" set to "month".

number
required

The number of passes granted.

number
required

Determines the recurrence of the passes. Can be either "month" or "once". If unspecified the credits issued will be set as "once".

date-time

The end date of the monthly recurring passes. Should be used only for credits with "intervalLength" set to "month".

string

The _id of the company with which the passes are associated.

string

The _id of the member with which the passes are associated.

boolean
required

Shows if the set of passes is for a single member or if its shared for a company.

string
required

The type of the resource associated to the set of passes.

Response

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json