Add a new membership

Add a new membership

Required scopes: flex.community.memberships.create

Path Params
string
required

organization slug

Body Params
properties
object

An object that contains all custom properties that can be applied to the item.

string
required

The name of the membership.

string
required

The start date of the membership.

string
required

The location of the membership.

string
required

The _id of the plan associated with the membership.

string

The end date of the membership.

string

The _id of the member associated with the membership.

string

The _id of the company associated with the membership.

boolean

If enabled, the membership will be charged to the member.

string
enum

The type of the membership.

Allowed:
string
enum

The membership interval. It could be "once", "hour", "day", or "month".

Allowed:
number

The price of the membership.

number

The deposit amount for the membership.

Response

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