{
  "openapi": "3.1.0",
  "info": {
    "title": "Voyant Quote Version Snapshot API",
    "version": "1.0.0"
  },
  "paths": {
    "/v1/admin/trips/{envelopeId}/quote-versions/{quoteVersionId}/snapshot": {
      "post": {
        "summary": "Freeze a Trip snapshot into a Quote Version",
        "parameters": [
          {
            "name": "envelopeId",
            "in": "path",
            "required": true,
            "schema": { "type": "string" }
          },
          {
            "name": "quoteVersionId",
            "in": "path",
            "required": true,
            "schema": { "type": "string" }
          }
        ],
        "responses": {
          "200": { "description": "The updated Quote Version and frozen Trip snapshot." },
          "404": { "description": "The Trip or Quote Version was not found." },
          "409": { "description": "The Trip or Quote Version cannot be snapshotted." }
        },
        "x-voyant-api-id": "@voyant-travel/quotes#quote-version-snapshot-extension.api"
      }
    }
  }
}
