POST
/v1/families/{id}
curl \
--request POST 'https://localhost/v1/families/fml_123123123123' \
--header "Content-Type: application/json" \
--data '{"firstname":"Harry","lastname":"Potter","email":"h.potter@hogwarts.co.uk","phone":"01234567890"}'
Request examples
{
"firstname": "Harry",
"lastname": "Potter",
"email": "h.potter@hogwarts.co.uk",
"phone": "01234567890"
}
Response examples (200)
{
"id": "fml_123123123123",
"companyId": "co_123123123123",
"name": "Potter",
"joinedAt": "2023-12-05",
"invitationStatus": "not_invited",
"autopayEnabled": true,
"profilePicture": "https://",
"deletedAt": "2023-12-05 14:30:41",
"archivedAt": "2023-12-05 14:30:41",
"createdAt": "2023-12-05 14:30:41"
}
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}
Response examples (422)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}