Add a new fee

Add a new fee

Required scopes: flex.community.fees.create

Path Params
string
required

organization slug

Query Params
boolean

Used to determine whether the fee you want to add should use coins valid for one-off fees.
In order for this to work the fee you're adding must have a plan selected.

Body Params
properties
object

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

string
required

The name of the fee.

string
required

The issue date of the fee.

string
required

The _id of the location of the fee.

string
required

The _id of the plan of the fee.

number
required

The price of the fee.

string

The _id of the member associated with the fee.

string

The _id of the company associated with the fee.

number

The quantity of the fee. If ommited, the quantity will be set to 1.

boolean

If true, the one-off charge is billed in advance (respecting its date).
By default one-off charges are not billed in advance.

boolean

If true, the one-off charge is billed to the assigned member and not to the company.

Response

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