curl --request PATCH \
--url https://api.zuddl.com/v1/events/{eventId}/sponsors/{sponsorId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Acme Corp",
"tagline": "Ship faster, break less",
"contactEmail": "sponsorship@acme.com",
"description": "<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>",
"socialLinks": {
"linkedInProfile": "https://www.linkedin.com/company/acme",
"twitterProfile": "https://twitter.com/acme",
"facebookProfile": "https://www.facebook.com/acme",
"websiteUrl": "https://acme.com"
}
}
'import requests
url = "https://api.zuddl.com/v1/events/{eventId}/sponsors/{sponsorId}"
payload = {
"name": "Acme Corp",
"tagline": "Ship faster, break less",
"contactEmail": "sponsorship@acme.com",
"description": "<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>",
"socialLinks": {
"linkedInProfile": "https://www.linkedin.com/company/acme",
"twitterProfile": "https://twitter.com/acme",
"facebookProfile": "https://www.facebook.com/acme",
"websiteUrl": "https://acme.com"
}
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Acme Corp',
tagline: 'Ship faster, break less',
contactEmail: 'sponsorship@acme.com',
description: '<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>',
socialLinks: {
linkedInProfile: 'https://www.linkedin.com/company/acme',
twitterProfile: 'https://twitter.com/acme',
facebookProfile: 'https://www.facebook.com/acme',
websiteUrl: 'https://acme.com'
}
})
};
fetch('https://api.zuddl.com/v1/events/{eventId}/sponsors/{sponsorId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.zuddl.com/v1/events/{eventId}/sponsors/{sponsorId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Acme Corp',
'tagline' => 'Ship faster, break less',
'contactEmail' => 'sponsorship@acme.com',
'description' => '<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>',
'socialLinks' => [
'linkedInProfile' => 'https://www.linkedin.com/company/acme',
'twitterProfile' => 'https://twitter.com/acme',
'facebookProfile' => 'https://www.facebook.com/acme',
'websiteUrl' => 'https://acme.com'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.zuddl.com/v1/events/{eventId}/sponsors/{sponsorId}"
payload := strings.NewReader("{\n \"name\": \"Acme Corp\",\n \"tagline\": \"Ship faster, break less\",\n \"contactEmail\": \"sponsorship@acme.com\",\n \"description\": \"<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>\",\n \"socialLinks\": {\n \"linkedInProfile\": \"https://www.linkedin.com/company/acme\",\n \"twitterProfile\": \"https://twitter.com/acme\",\n \"facebookProfile\": \"https://www.facebook.com/acme\",\n \"websiteUrl\": \"https://acme.com\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.zuddl.com/v1/events/{eventId}/sponsors/{sponsorId}")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Acme Corp\",\n \"tagline\": \"Ship faster, break less\",\n \"contactEmail\": \"sponsorship@acme.com\",\n \"description\": \"<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>\",\n \"socialLinks\": {\n \"linkedInProfile\": \"https://www.linkedin.com/company/acme\",\n \"twitterProfile\": \"https://twitter.com/acme\",\n \"facebookProfile\": \"https://www.facebook.com/acme\",\n \"websiteUrl\": \"https://acme.com\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zuddl.com/v1/events/{eventId}/sponsors/{sponsorId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Acme Corp\",\n \"tagline\": \"Ship faster, break less\",\n \"contactEmail\": \"sponsorship@acme.com\",\n \"description\": \"<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>\",\n \"socialLinks\": {\n \"linkedInProfile\": \"https://www.linkedin.com/company/acme\",\n \"twitterProfile\": \"https://twitter.com/acme\",\n \"facebookProfile\": \"https://www.facebook.com/acme\",\n \"websiteUrl\": \"https://acme.com\"\n }\n}"
response = http.request(request)
puts response.read_body{
"kind": "<string>",
"url": "<string>",
"id": "4fcebf73-3ddb-4fe6-b56d-5dd7dedb7c3d",
"name": "Acme Corp",
"title": "Acme's sponsorship",
"description": "<p>Acme Corp is a <strong>leading</strong> provider of...</p>",
"websiteUrl": "https://acme.com",
"logoUrl": "https://example.com/sponsors/acme_logo.png",
"email": "sponsorship@acme.com",
"coverImageUrl": "https://example.com/sponsors/acme_cover.png",
"tier": {
"tierId": "tier-gold",
"tierName": "Gold"
},
"booth": {
"boothId": "4fcebf73-3ddb-4fe6-b56d-5dd7dedb7c4f",
"boothName": "Acme Booth"
},
"socialLinks": {
"linkedInProfile": "https://www.linkedin.com/company/acme",
"twitterProfile": "https://twitter.com/acme",
"facebookProfile": "https://www.facebook.com/acme",
"websiteUrl": "https://acme.com"
}
}{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"description": "<string>",
"code": "<string>",
"params": {},
"errors": {}
}{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"description": "<string>",
"code": "<string>",
"params": {},
"errors": {}
}{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"description": "<string>",
"code": "<string>",
"params": {},
"errors": {}
}{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"description": "<string>",
"code": "<string>",
"params": {},
"errors": {}
}Update a sponsor
Changes the fields supplied on the request and leaves every other field untouched. Social links merge by type: a link you name is replaced, a link sent as an empty string is removed, and one you omit is left as it was. The sponsor’s tier, booth, booth owners, assigned tasks and files keep their current values. Note that on events with the exhibitor portal the attached booth’s name and description are derived from the sponsor, so changing the sponsor’s name or tagline re-derives them, exactly as editing the sponsor in the Zuddl app does.
Required API key scopes: WRITE
This API can only be called with an access key that was generated for Backend usage.
curl --request PATCH \
--url https://api.zuddl.com/v1/events/{eventId}/sponsors/{sponsorId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Acme Corp",
"tagline": "Ship faster, break less",
"contactEmail": "sponsorship@acme.com",
"description": "<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>",
"socialLinks": {
"linkedInProfile": "https://www.linkedin.com/company/acme",
"twitterProfile": "https://twitter.com/acme",
"facebookProfile": "https://www.facebook.com/acme",
"websiteUrl": "https://acme.com"
}
}
'import requests
url = "https://api.zuddl.com/v1/events/{eventId}/sponsors/{sponsorId}"
payload = {
"name": "Acme Corp",
"tagline": "Ship faster, break less",
"contactEmail": "sponsorship@acme.com",
"description": "<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>",
"socialLinks": {
"linkedInProfile": "https://www.linkedin.com/company/acme",
"twitterProfile": "https://twitter.com/acme",
"facebookProfile": "https://www.facebook.com/acme",
"websiteUrl": "https://acme.com"
}
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Acme Corp',
tagline: 'Ship faster, break less',
contactEmail: 'sponsorship@acme.com',
description: '<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>',
socialLinks: {
linkedInProfile: 'https://www.linkedin.com/company/acme',
twitterProfile: 'https://twitter.com/acme',
facebookProfile: 'https://www.facebook.com/acme',
websiteUrl: 'https://acme.com'
}
})
};
fetch('https://api.zuddl.com/v1/events/{eventId}/sponsors/{sponsorId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.zuddl.com/v1/events/{eventId}/sponsors/{sponsorId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Acme Corp',
'tagline' => 'Ship faster, break less',
'contactEmail' => 'sponsorship@acme.com',
'description' => '<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>',
'socialLinks' => [
'linkedInProfile' => 'https://www.linkedin.com/company/acme',
'twitterProfile' => 'https://twitter.com/acme',
'facebookProfile' => 'https://www.facebook.com/acme',
'websiteUrl' => 'https://acme.com'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.zuddl.com/v1/events/{eventId}/sponsors/{sponsorId}"
payload := strings.NewReader("{\n \"name\": \"Acme Corp\",\n \"tagline\": \"Ship faster, break less\",\n \"contactEmail\": \"sponsorship@acme.com\",\n \"description\": \"<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>\",\n \"socialLinks\": {\n \"linkedInProfile\": \"https://www.linkedin.com/company/acme\",\n \"twitterProfile\": \"https://twitter.com/acme\",\n \"facebookProfile\": \"https://www.facebook.com/acme\",\n \"websiteUrl\": \"https://acme.com\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.zuddl.com/v1/events/{eventId}/sponsors/{sponsorId}")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Acme Corp\",\n \"tagline\": \"Ship faster, break less\",\n \"contactEmail\": \"sponsorship@acme.com\",\n \"description\": \"<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>\",\n \"socialLinks\": {\n \"linkedInProfile\": \"https://www.linkedin.com/company/acme\",\n \"twitterProfile\": \"https://twitter.com/acme\",\n \"facebookProfile\": \"https://www.facebook.com/acme\",\n \"websiteUrl\": \"https://acme.com\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zuddl.com/v1/events/{eventId}/sponsors/{sponsorId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Acme Corp\",\n \"tagline\": \"Ship faster, break less\",\n \"contactEmail\": \"sponsorship@acme.com\",\n \"description\": \"<p>Acme Corp is a <strong>leading</strong> provider of widgets.</p>\",\n \"socialLinks\": {\n \"linkedInProfile\": \"https://www.linkedin.com/company/acme\",\n \"twitterProfile\": \"https://twitter.com/acme\",\n \"facebookProfile\": \"https://www.facebook.com/acme\",\n \"websiteUrl\": \"https://acme.com\"\n }\n}"
response = http.request(request)
puts response.read_body{
"kind": "<string>",
"url": "<string>",
"id": "4fcebf73-3ddb-4fe6-b56d-5dd7dedb7c3d",
"name": "Acme Corp",
"title": "Acme's sponsorship",
"description": "<p>Acme Corp is a <strong>leading</strong> provider of...</p>",
"websiteUrl": "https://acme.com",
"logoUrl": "https://example.com/sponsors/acme_logo.png",
"email": "sponsorship@acme.com",
"coverImageUrl": "https://example.com/sponsors/acme_cover.png",
"tier": {
"tierId": "tier-gold",
"tierName": "Gold"
},
"booth": {
"boothId": "4fcebf73-3ddb-4fe6-b56d-5dd7dedb7c4f",
"boothName": "Acme Booth"
},
"socialLinks": {
"linkedInProfile": "https://www.linkedin.com/company/acme",
"twitterProfile": "https://twitter.com/acme",
"facebookProfile": "https://www.facebook.com/acme",
"websiteUrl": "https://acme.com"
}
}{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"description": "<string>",
"code": "<string>",
"params": {},
"errors": {}
}{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"description": "<string>",
"code": "<string>",
"params": {},
"errors": {}
}{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"description": "<string>",
"code": "<string>",
"params": {},
"errors": {}
}{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"description": "<string>",
"code": "<string>",
"params": {},
"errors": {}
}Authorizations
Path Parameters
Body
Fields to change on an existing sponsor; omitted fields are left unchanged
Response
Sponsor updated
Was this page helpful?