Update a member
Updates a member's profile. email left out keeps the stored email; "" clears it. An email another member of the customer already has is a 409.
Base URL https://payments.clocknext.com/api/v1
PATCH
apiKeyheader
AuthorizationBearer <cnk_…>Organisation-scoped key from Settings → API Keys.
id*stringCustomer id.
memberId*stringMember id.
application/json- body
name*stringThe member's new name: 1–120 characters. Send it on every update.
Length
1 <= length <= 120email?stringLeft out keeps the stored email; "" clears it.
Length
length <= 200Member updated.
application/json- response
statusCode*integerThe HTTP status code of the response, repeated in the body.
statusDetail*The status of the request. status is SUCCESS, and message says what happened.
result*The member as it is now.
curl -X PATCH 'https://payments.clocknext.com/api/v1/customers/cus_abc123/members/mem_def456' \ -H 'Content-Type: application/json' \ -d '{ "name": "Daniel Okafor (Ops)", "email": "daniel.okafor@northwindtraders.com"}'Example Response
{ "statusCode": 200, "statusDetail": { "status": "SUCCESS", "message": "Request processed successfully." }, "result": { "member": { "id": "cmvgvr580007308l2yqt2d43z", "name": "Daniel Okafor (Ops)", "email": "daniel.okafor@northwindtraders.com", "joinedAt": "2026-10-20T16:10:55.920Z" } }}Types
Every object type on this page, with its fields.
UpdateMemberInput
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | The member's new name: 1–120 characters. Send it on every update. |
email | string | no | Left out keeps the stored email; "" clears it. |
Member
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | The member's id. Use it in /members/{memberId} paths. |
name | string | yes | The member's name. |
email | string | null | yes | The member's email. null when the member has none. |
joinedAt | string | yes | When the member was first added. A member that is removed and added again keeps this date. |