Update an entity
Updates an entity with the parameters sent.
💡 Tip: Updating an entity with more information will enable further capabilities on the Entity. See entity capabilities for more info.
⚠️ Caution: Once an entity's property has been set, that property can no longer be updated.
💡 Tip: Updating an entity with more information will enable further capabilities on the Entity. See entity capabilities for more info.
⚠️ Caution: Once an entity's property has been set, that property can no longer be updated.
Parameters
individual
object
Individual information of the entity. See individual entity.
Optional
corporation
object
Corporation information of the entity. See corporation entity.
Optional
address
object
The entity's address. See entity address.
Optional
Returns
Returns the entity with the updated fields.
- cURL
- Node.js
- Python
PUT
/entities/:entity_id
curl https://production.methodfi.com/entities/ent_au22b1fbFJbp8 \
-X PUT \
-H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc" \
-H "Content-Type: application/json" \
-d '{
"individual": {
"first_name": "Kevin",
"last_name": "Doyle",
"email": "kevin.doyle@gmail.com",
"dob": "1997-03-18"
}
}'
PUT
/entities/:entity_id
const entity = await method.entities.update('ent_au22b1fbFJbp8', {
individual: {
first_name: 'Kevin',
last_name: 'Doyle',
email: 'kevin.doyle@gmail.com',
dob: '1997-03-18',
},
});
PUT
/entities/:entity_id
entity = method.entities.update('ent_au22b1fbFJbp8', {
'individual': {
'first_name': 'Kevin',
'last_name': 'Doyle',
'email': 'kevin.doyle@gmail.com',
'dob': '1997-03-18',
}
})
RESPONSE
{
"id": "ent_au22b1fbFJbp8",
"type": "individual",
"individual": {
"first_name": "Kevin",
"last_name": "Doyle",
"phone": "+16505555555",
"email": "kevin.doyle@gmail.com",
"dob": "1997-03-18"
},
"corporation": null,
"receive_only": null,
"address": {
"line1": "3300 N Interstate 35",
"line2": null,
"city": "Austin",
"state": "TX",
"zip": "78705"
},
"capabilities": [
"payments:send",
"payments:receive",
"data:sync"
],
"available_capabilities": [
"data:retrieve"
],
"pending_capabilities": [],
"error": null,
"status": "active",
"metadata": null,
"created_at": "2020-12-09T00:40:51.107Z",
"updated_at": "2020-12-09T00:40:51.107Z"
}