latestSwagger 2.02026-08-108756114.6 KB

90e715bcdf3d

membership

Associate an user to a plan

Associate an user to a plan

post/membership/{user_id}/plan

Path parameters

user_idstring required

User's ID

Request body

plan_idinteger required
expiration_datestring date

Send the expiration date in YYYY-MM-DD format or the end of the current month will be used. The date should always be the last day of the month.

Response

Plan successfully associated to the user.