Create Members
This api creates members.
GRAPHQL
Headers
Fields | Type | Description | Example | O/M | Data Management |
---|---|---|---|---|---|
URL | string | {base_url}/graphql/loop-members-service | M | ||
GRAPHQL | string | MUTATION | M | ||
content-type | string | JSON | application/json | M | |
x-access-token | string | Session token with validity | token | M | admin token |
Request
{
mutation {
create_member(
"first_name":"abc",
"last_name":"xyz",
"gender": "male",
"email": "employee@test.com",
"mobile": "9891055604",
"external_id":"843778",
"password":"password"
){
_id
success
}
}
}
Success
{
"_id": "54da47cfefa0c9420757e0e4",
"success": true
}
Error
{
}