Update Event Occurrence
curl --request PUT \
--url https://api.marzipan.co/v1/events/occurrences/{occurrence} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"status": "postponed",
"maxTickets": 120,
"locationOverride": "The Riverside Marquee",
"notes": "Moved outdoors due to demand.",
"occurrenceDate": "2026-08-22"
}
'import requests
url = "https://api.marzipan.co/v1/events/occurrences/{occurrence}"
payload = {
"status": "postponed",
"maxTickets": 120,
"locationOverride": "The Riverside Marquee",
"notes": "Moved outdoors due to demand.",
"occurrenceDate": "2026-08-22"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
status: 'postponed',
maxTickets: 120,
locationOverride: 'The Riverside Marquee',
notes: 'Moved outdoors due to demand.',
occurrenceDate: '2026-08-22'
})
};
fetch('https://api.marzipan.co/v1/events/occurrences/{occurrence}', 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.marzipan.co/v1/events/occurrences/{occurrence}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'status' => 'postponed',
'maxTickets' => 120,
'locationOverride' => 'The Riverside Marquee',
'notes' => 'Moved outdoors due to demand.',
'occurrenceDate' => '2026-08-22'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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.marzipan.co/v1/events/occurrences/{occurrence}"
payload := strings.NewReader("{\n \"status\": \"postponed\",\n \"maxTickets\": 120,\n \"locationOverride\": \"The Riverside Marquee\",\n \"notes\": \"Moved outdoors due to demand.\",\n \"occurrenceDate\": \"2026-08-22\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.put("https://api.marzipan.co/v1/events/occurrences/{occurrence}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"status\": \"postponed\",\n \"maxTickets\": 120,\n \"locationOverride\": \"The Riverside Marquee\",\n \"notes\": \"Moved outdoors due to demand.\",\n \"occurrenceDate\": \"2026-08-22\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.marzipan.co/v1/events/occurrences/{occurrence}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"status\": \"postponed\",\n \"maxTickets\": 120,\n \"locationOverride\": \"The Riverside Marquee\",\n \"notes\": \"Moved outdoors due to demand.\",\n \"occurrenceDate\": \"2026-08-22\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"occurrence": {
"id": "9a2b3c4d-5e6f-4071-8a9b-0c1d2e3f4a5b",
"eventId": "b7a4c2e1-8f3d-4a6b-9c2e-1d5f7a8b3c4d",
"occurrenceDate": "2026-08-22",
"startTime": "19:00",
"endTime": "22:00",
"status": "postponed",
"maxTickets": 120,
"ticketsSold": 58,
"locationOverride": "The Riverside Marquee",
"notes": "Moved outdoors due to demand."
}
}{
"message": "No query results for model [EventOccurrence]."
}{
"message": "The selected status is invalid.",
"errors": {
"status": [
"The selected status is invalid."
]
}
}Events
Update Event Occurrence
Update a single occurrence of a recurring event. Capacity cannot be reduced below the number of tickets already sold. All fields are optional and only supplied fields are updated.
PUT
/
events
/
occurrences
/
{occurrence}
Update Event Occurrence
curl --request PUT \
--url https://api.marzipan.co/v1/events/occurrences/{occurrence} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"status": "postponed",
"maxTickets": 120,
"locationOverride": "The Riverside Marquee",
"notes": "Moved outdoors due to demand.",
"occurrenceDate": "2026-08-22"
}
'import requests
url = "https://api.marzipan.co/v1/events/occurrences/{occurrence}"
payload = {
"status": "postponed",
"maxTickets": 120,
"locationOverride": "The Riverside Marquee",
"notes": "Moved outdoors due to demand.",
"occurrenceDate": "2026-08-22"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
status: 'postponed',
maxTickets: 120,
locationOverride: 'The Riverside Marquee',
notes: 'Moved outdoors due to demand.',
occurrenceDate: '2026-08-22'
})
};
fetch('https://api.marzipan.co/v1/events/occurrences/{occurrence}', 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.marzipan.co/v1/events/occurrences/{occurrence}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'status' => 'postponed',
'maxTickets' => 120,
'locationOverride' => 'The Riverside Marquee',
'notes' => 'Moved outdoors due to demand.',
'occurrenceDate' => '2026-08-22'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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.marzipan.co/v1/events/occurrences/{occurrence}"
payload := strings.NewReader("{\n \"status\": \"postponed\",\n \"maxTickets\": 120,\n \"locationOverride\": \"The Riverside Marquee\",\n \"notes\": \"Moved outdoors due to demand.\",\n \"occurrenceDate\": \"2026-08-22\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.put("https://api.marzipan.co/v1/events/occurrences/{occurrence}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"status\": \"postponed\",\n \"maxTickets\": 120,\n \"locationOverride\": \"The Riverside Marquee\",\n \"notes\": \"Moved outdoors due to demand.\",\n \"occurrenceDate\": \"2026-08-22\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.marzipan.co/v1/events/occurrences/{occurrence}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"status\": \"postponed\",\n \"maxTickets\": 120,\n \"locationOverride\": \"The Riverside Marquee\",\n \"notes\": \"Moved outdoors due to demand.\",\n \"occurrenceDate\": \"2026-08-22\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"occurrence": {
"id": "9a2b3c4d-5e6f-4071-8a9b-0c1d2e3f4a5b",
"eventId": "b7a4c2e1-8f3d-4a6b-9c2e-1d5f7a8b3c4d",
"occurrenceDate": "2026-08-22",
"startTime": "19:00",
"endTime": "22:00",
"status": "postponed",
"maxTickets": 120,
"ticketsSold": 58,
"locationOverride": "The Riverside Marquee",
"notes": "Moved outdoors due to demand."
}
}{
"message": "No query results for model [EventOccurrence]."
}{
"message": "The selected status is invalid.",
"errors": {
"status": [
"The selected status is invalid."
]
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your API token.
Path Parameters
The unique identifier of the event occurrence.
Body
application/json
The occurrence status.
Available options:
active, cancelled, postponed Maximum tickets for the occurrence. Cannot be set below tickets already sold.
Required range:
x >= 0A location that overrides the parent event's location for this occurrence.
Internal notes for the occurrence.
The date of the occurrence (YYYY-MM-DD).
⌘I

