Creates a member

Licenses Required

  • Vista.Ocapi
Request
header Parameters
Connect-Region-Code
string

Region Code

Request Body schema:
required

Member to create

required
object (MemberCredentialsCreate)

Represents the authentication credentials of a member being created

required
object (MemberClubMembership)

Represents a member entity's membership of a club

object (MemberPersonalDetails)

Represents the personal details of a member

acceptedTermsAndConditions
required
boolean

Gets a value indicating whether the member accepted the terms and conditions

authenticationType
string (MemberAuthenticationType)

Represents the different types of authentication that can be returned for a member

Enum: "None" "Token" "Cookie"
Responses
200

Success

400

Request property is invalid or missing.

post/ocapi/v1/members
Request samples
{
  • "credentials": {
    },
  • "clubMembership": {
    },
  • "personalDetails": {
    },
  • "acceptedTermsAndConditions": true,
  • "authenticationType": "None"
}
Response samples
application/json
{
  • "memberDetails": {
    },
  • "authenticationToken": {
    }
}