# Update company

{% openapi src="<https://2745779787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3Mz58ywsyckDBxRQPsJf%2Fuploads%2Fgit-blob-e4fb17c5b0e22e04724315d184ccee298927525d%2F50skills%20Journeys%20API%202.yaml?alt=media>" path="v1/company/" method="patch" expanded="true" %}
[50skills Journeys API 2.yaml](https://2745779787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3Mz58ywsyckDBxRQPsJf%2Fuploads%2Fgit-blob-e4fb17c5b0e22e04724315d184ccee298927525d%2F50skills%20Journeys%20API%202.yaml?alt=media)
{% endopenapi %}

#### Request samples

{% tabs %}
{% tab title="Application/JSON" %}

```json
{
   "name":"The New Shire",
   "websiteUrl":"https://thenewshire.50skills.com",
   "logo":"https://s3-eu-west-1.amazonaws.com/50-journeys-static/public/jZzwxywD/logo/theshire-logo-v2.png"
}
```

{% endtab %}

{% tab title="Python" %}

```python
import requests
response = requests.patch(
    "https://journeys-api.50skills.app/v1/company/",
    json={
        "name": "The Shire",
        "websiteUrl": "https://thenewshire.50skills.com",
        "logo": "https://s3-eu-west-1.amazonaws.com/50-journeys-static/public/jZzwxywD/logo/theshire-logo-v2.png"
    }
)
print(response.json())                 
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
fetch("https://journeys.api.50skills.com/v1/company/", {
  method: "PATCH",
  headers: {
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "name": "The New Shire",
    "websiteUrl": "https://thenewshire.50skills.com",
    "logo": "https://s3-eu-west-1.amazonaws.com/50-journeys-static/public/jZzwxywD/logo/theshire-logo-v2.png"
  })
})
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error(error));;                 
```

{% endtab %}
{% endtabs %}

#### Response samples

{% tabs %}
{% tab title="201 (Created)" %}
{% code overflow="wrap" %}

```json
{
   "name":"The New Shire",
   "websiteUrl":"https://thenewshire.50skills.com",
   "logo":"https://s3-eu-west-1.amazonaws.com/50-journeys-static/public/jZzwxywD/logo/theshire-logo-v2.png"
}
```

{% endcode %}
{% endtab %}
{% endtabs %}
