This endpoint is used to update a member. It takes a member ID and uses your public API key to match the customer to your account. As of now, all fields in the update schema are required, so it is not possible to update a single field at a time.
Security
api_key
- https://public.inveterateapi.comhttps://public.inveterateapi.com/v2.0/admin/members/{id}
curl -i -X PATCH \
'https://public.inveterateapi.com/v2.0/admin/members/{id}' \
-H 'Content-Type: application/json' \
-H 'X-Inveterate-Api-Key: YOUR_API_KEY_HERE' \
-d '{
"firstName": "string",
"lastName": "string",
"notes": "string",
"phoneNumber": "string",
"birthday": "string"
}'Returned upon successful request made to our backend. Requests that return this code may take a small amount of time after successful API return to fully update.
The message associated with the response. Generally, the message only confirms the requested action. In the case of errors, the message will give insight into the source of the error.
Response
{ "message": "Request sent successfully", "data": { "id": 1, "name": "John Doe" } }