Replacing an existing member, identified by theirDocumentation Index
Fetch the complete documentation index at: https://docs.onsi.com/llms.txt
Use this file to discover all available pages before exploring further.
memberId.
As you’re providing the entire desired member state, members with a status of inactive will be re-activated on your Onsi programme.
accountDetails to null.
400 status code with the following error codes:
Unique key to ensure idempotency of the request
The unique identifier for a Member, prefixed with mem_
"mem_<id>"
Body
A unique email address for the member
^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$"jane-smith@onsi.com"
"John"
"Smith"
Tier name for the member
"Gold"
An optional phone number for the member
"+447123456789"
Unique ID provided by API consumer, must be unique across all members (active, invited and inactive)
"ID_123"
A UK bank account
{
"accountHolder": "John Smith",
"sortCode": "123456",
"accountNumber": "12345678"
}Date of birth of the member, must later than 1900
^\d{4}-\d{2}-\d{2}$"1990-01-01"
Gender of the member
Female, Male, NonBinary A member on the platform.
A member on the platform.
^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$Onsi's ID of the member
"mem_q5sdae3se6eg9m9dcvug"
"John"
"Smith"
"+447123456789"
Tier name for the member
"Gold"
Unique ID provided by API consumer, must be unique across all members (active, invited and inactive)
"ID_123"
The status of the member.
active, invited, inactive A UK bank account
{
"accountHolder": "John Smith",
"sortCode": "123456",
"accountNumber": "12345678"
}true
Date of birth of the member, must later than 1900
^\d{4}-\d{2}-\d{2}$"1990-01-01"
Gender of the member
Female, Male, NonBinary