If you have a third-party app that needs to create users inside your MemberPress website your only option is to use the Developer Tools add-on to create users via the API.
But there is a limitation to that.
You can set only the basic fields for that user via the API.
If you have any custom fields they won’t be filled via the MemberPress API.
To solve this problem we’ve created an add-on that allows you to update the user that you created through the MemberPress API to fill the custom fields too.
We call our plugin, MemberPress User Profile API Endpoint.
At this moment you have the user created so you’ll need to send a POST request with the data you need to add to their profile information.
To do so you’ll need to use the following route:
/wp-json/memberfix/v1/update
This will make the address you are sending to like this example:
https://domain.com/wp-json/memberfix/v1/update
Authentication
To authenticate your request you will need to pass the same header bearer as you did for MemberPress.
The header name and API key are the same as the ones from the MemberPress Developer Tools.
Parameters
Required Parameters
1 – user_id – The ID of the user you are going to update
2 – Any other custom field you have created in MemberPress and marked it as Required.
Slugs
The endpoint accepts parameters that respect the MemberPress custom fields slugs. The slugs can be found in the ‘Fields’ table.
Example Request
{
“user_id” : “2”,
“mepr_sorin” : “Here comes the data for the field”,
“mepr_sorin2” : “And here you can add other data”
}
How can I download your MemberPress User Profile API Endpoint plugin?
We sell this plugin for $15.
If you would like to purchase it, please complete the checkout below.
You’ll gain access to the .zip file after checkout.
Secure Checkout MemberPress User Profile API Endpoint
After checkout, please follow the instructions in this post.
When you are done with that the plugin should work by itself.
Will you provide support for this plugin?
Of course! ????
We’ll be providing support for the MemberPress User Profile API Endpoint only.
So if you have any questions or issues please come back to this post and leave a comment describing them (you can also upload screenshots in the comments).
We will provide email support at support@memberfix.freshdesk.com but using comments instead, everybody benefits from the conversation and explanations, including existing and potential customers. ????
It also fosters transparency which improves the direction of development by involving our entire community.
Feature Requests and Support
If you have a feature request or would like to submit a support request just use the form below. ????
Feature Requests and Support
If you have a feature request or would like to submit a support request just use the form below. ????
"*" indicates required fields
Try this plugin risk free
With our 30-day money-back guarantee
If, for any reason, you are unhappy with the plugin or can not get it to work within 30 days, we’ll be happy to refund you the full amount – no questions asked.