Loading…

Create an organization

# Match strictly according to charging items ```javascript WXAPI.organizeCreate({ token: '000', name: 'Organization name', }) ``` + token current user login credentials + name Organization name, organization name cannot be the same + pic organization cover picture + priceId is the organization charging item ID. When creating an organization, fees will be deducted based on this. + remark note # Automatically calculate price per person/duration In this mode, you need to first add text parameters in system settings, system parameters: + parameter name organize_price + Parameter value: ```json { "dayPrice": 1, "monthPrice": 30, "yearPrice": 330 } ``` + dayPrice price per person per day + monthPrice price per person per month + yearPrice price per person per year ```javascript WXAPI.organizeCreateV2({ token: '000', name: 'Organization name', }) ``` + token current user login credentials + name Organization name, organization name cannot be the same + pic organization cover picture + maxMembers number of buyers + durationType duration type 0 days 1 month 2 years + duration duration + remark note + calculate passes true, does not process the logic, and just returns the prediction results. # Purchase online payment methods If you use online payment to create an organization, proceed to the following tutorial: [**"Detailed explanation of nextAction parameter usage"**](https://www.yuque.com/apifm/doc/aetmlb#UChr2)