Skip to main content

Copy draft version

Use this call to create a copy of a chart, based on the draft chart version. The draft version of the source chart is used as the published version of the new chart.

The chart name and tags are copied as well.

Note that the new chart name will have " (copy)" appended to it. E.g. if the original chart name was "My Super Chart", the copy's name will be "My Super Chart (copy)".

Events linked to the original chart and the published version are not copied.

The response contains the chartKey of the new chart. You can store this in your database, and use it to refer to the newly created chart in the future.

POST https://api-{region}.seatsio.net/charts/{chartKey}/version/draft/actions/copy
curl -X POST https://api-{region}.seatsio.net/charts/749b9650-24fb-11e7-93ae-92361f002671/version/draft/actions/copy \
-u aSecretKey:
{
"name":"chart2",
"id":"19",
"key":"749b9650-24fb-11e7-93ae-92361f002671",
"status":"NOT_USED",
"tags": ["tag1", "tag2"],
"archived": false,
"publishedVersionThumbnailUrl": "https://cdn.seats.io/system/public/.../published/.../thumbnail"
}