latestSwagger 2.02026-08-108756114.6 KB

90e715bcdf3d

membership

Add an addon to the user's plan

Add an addon to the user's plan on a starting date.

post/membership/{user_id}/plan/{plan_id}/addon

Path parameters

user_idstring required

User's ID.

plan_idinteger required

Plan ID.

Request body

addon_idinteger required

The addon ID to add to the user's plan.

start_datestring date

The date in YYYY-MM-DD format or the current date will be used.

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

Successfully added an addon to the plan.