Unable to update metadata memberstack 2.0 via backend Answered
Hi There MemberStack Community,
I need a little assistance I am using MemberStack 2.0 I am having issue with updating metadata via backend the function that was working for memberstack 1.0 is not working for 2.0 but I can't find the function to update metadata record.
This function that was working for memberstack 1.0 does not work for memberstack 2.0
member.updateMetaData(metadata); |
At the moment I am unable to update metdata as was done in version 1.0 so does anyone know how to do it?
Comments
4 comments
Josh Lopez Could you help Francesco biviano and I find the correct method for updating a member's metadata?
Hey Francesco biviano 👋
You can update the member with the REST version of the admin package by using the "update a member" endpoint, you can see an example here. If you are using the Node version you can see an example here.
Thanks, Josh!
Francesco biviano For added context: In Memberstack 2.0, you can update JSON and Custom Fields using the frontend & backend API. Metadata however, can only be updated from the backend.
If you need to make these updates in the front-end I recommend using JSON instead.
Thanks a lot for the help. really appreciated
Please sign in to leave a comment.