In my case, I want to create a createMembership and pass a specified membership ID. This ID should be based on a document from my own collection. So then the ID from document and team, will be reference each other so it does not hard to me query.
TL;DR
In Appwrite's createMembership parameters, the membership ID cannot be customized. Users can submit a feature request if they want this functionality. The user wants to create a createMembership and pass a specified membership ID, based on a document from their own collection. This would allow the ID from the document and team to be referenced together, making it easier to query. However, this is not currently possible within Appwrite's system.