PUT
/
v1
/
members
/
{id}

Replacing an existing member, identified by their memberId.

Inactive members will be re-added to your Onsi programme.

Authorizations

X-API-KEY
string
headerrequired

Headers

x-idempotency-key
string

Unique key to ensure idempotency of the request

Path Parameters

id
string
required

The unique identifier for a Member, prefixed with mem_

Body

application/json
email
string
required

A unique email address for the member

firstName
string
required
lastName
string
required
tier
string
required

Tier name for the member

phone
string

An optional phone number for the member

workerId
string

Unique ID provided by API consumer, must be unique across all members (active, invited and inactive)

accountDetails
object
enablePayroll
boolean

Response

200 - application/json

A member on the platform.

email
string
required
memberId
string
required

Onsi's ID of the member

firstName
string
required
lastName
string
required
phone
string | null
required
tier
string
required

Tier name for the member

workerId
string | null
required

Unique ID provided by API consumer, must be unique across all members (active, invited and inactive)

status
enum<string>
required

The status of the member.

Available options:
active,
invited,
inactive
accountDetails
object
required
enablePayroll
boolean
required