Clone event
Copy an event, with the optional settings you choose to keep.
POST https://cotlet.dev/api/v1/billetto/events/{event_id}/clone
Does what More > Clone does on an event in Manage: description, image and ticket types are copied automatically. keep adds the optional items: booking_questions, headliners, custom_email_text, capacity_settings, scanner_settings and ticket_banners. For a recurring event only the parent event is copied, so its time slots are added by hand in Billetto. The copy still needs its date and a check before you publish it. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| event_id string required | string | Event ID from list_events. |
| keep array | array | Optional items to copy: booking_questions, headliners, custom_email_text, capacity_settings, scanner_settings, ticket_banners. |
Request
curl -X POST https://cotlet.dev/api/v1/billetto/events/event_8c41d2/clone \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("billetto", "clone_event", {"event_id":"event_8c41d2"}) const result = await cotlet.call('billetto', 'clone_event', {"event_id":"event_8c41d2"}); cotlet call billetto clone_event --data '{"event_id":"event_8c41d2"}' Example response
{
"source_event_id": "1204551",
"event_id": "1209330",
"name": "Autumn Jazz Night",
"copied": [
"booking_questions",
"scanner_settings"
]
}