Update company
Request samples
{
"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"
}
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())
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));;
Response samples
{
"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"
}
Last updated