# Linking thirdparty to member via api

**URL:** <https://www.dolibarr.org/forum/t/linking-thirdparty-to-member-via-api/30461>\
**Category:** Developing for Dolibarr\
**Tags:** Question\
**Created:** [July 5, 2025, 11:54pm UTC](https://www.dolibarr.org/forum/t/linking-thirdparty-to-member-via-api/30461 "2025-07-05T23:54:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tilo](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/tilo/32/8375_2.png) [@tilo](https://www.dolibarr.org/forum/u/tilo)\
**Post date:** [July 5, 2025, 11:54pm UTC](https://www.dolibarr.org/forum/t/linking-thirdparty-to-member-via-api/30461/1 "2025-07-05T23:54:16Z")

</div>

I cant get this working.  
I have plenty of member created. I need to assing a bank account via api

1. create third party (POST)

```auto
{
            "status": "1",
            "country_id": "5",
            "country_code": "DE",
            "client": "1",
            "code_client": "-1",
            "name": member.firstname+" "+member.lastname,
            "email": member.email,
            "entity": "1"
        }

```

1. link by PUT to a member

```auto
{ "fk_soc": "164" }

```

this has no effect. I cant find a api for this.  
Is it possible? How?

---

<div class="post-metadata">

**Author:** ![tilo](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/tilo/32/8375_2.png) [@tilo](https://www.dolibarr.org/forum/u/tilo)\
**Post date:** [July 6, 2025, 12:02am UTC](https://www.dolibarr.org/forum/t/linking-thirdparty-to-member-via-api/30461/2 "2025-07-06T00:02:30Z")

</div>

easy. I found it. Just using

```auto
{ "fk_soc": "164", "socid": "164" }

```
