---
search:
  tags:
    - quotes
    - POST
seo:
  description: >-
    Reference for the POST /v1/quotes/{quoteId}/versions endpoint in the Vortex
    Payments API.
sidebar:
  label: POST /v1/quotes/{quoteId}/versions
  badge: POST
title: POST /v1/quotes/{quoteId}/versions
type: openapi-operation
---
`POST /v1/quotes/{quoteId}/versions`

**curl**

```bash
curl "https://api.vortex.nyc/v1/quotes/{quoteId}/versions?environment=sandbox&merchantAccountId=..." \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lines":[{"priceId":"bprice_seats","quantity":15,"unitAmount":4500}],"terms":"Net 30, revised seat count"}'
```

**TypeScript**

```ts
import { createBillingQuoteVersion, createVortex } from "@vortex-api/vortex/2026-09";

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await createBillingQuoteVersion({
  client: vortex,
  path: { quoteId: "..." },
  query: { environment: "sandbox", merchantAccountId: "..." },
  body: {"lines":[{"priceId":"bprice_seats","quantity":15,"unitAmount":4500}],"terms":"Net 30, revised seat count"},
});
```

**Request body** (`application/json`, required)

- `environment` (string | null)
- `merchantAccountId` (string | null)
- `quoteId` (string | null)
- `lines` (object[], required)
- `couponIds` (string[] | null)
- `terms` (string | null)
- `currency` (string | null)
- `metadata` (object | null)

Request body example:

```json
{
  "environment": "sandbox",
  "merchantAccountId": "string",
  "quoteId": "string",
  "lines": [
    {
      "priceId": "string",
      "quantity": 0,
      "unitAmount": 0,
      "description": "string"
    }
  ],
  "couponIds": [
    "string"
  ],
  "terms": "string",
  "currency": "string",
  "metadata": {
    "property1": "string",
    "property2": "string"
  }
}
```

**Responses**

- `201` — Success

Response example, 201:

```json
{
  "data": {
    "quote": {
      "quoteId": "string",
      "number": "string",
      "orderType": "one_off",
      "customerId": "string",
      "billingAccountId": "string",
      "merchantAccountId": "string",
      "metadata": {
        "property1": "string",
        "property2": "string"
      },
      "createdAt": "string",
      "updatedAt": "string",
      "subscriptionId": "string",
      "currentVersionId": "string",
      "amendsOrderId": "string",
      "amendsQuoteVersionId": "string"
    },
    "version": {
      "quoteVersionId": "string",
      "quoteId": "string",
      "version": 0,
      "status": "draft",
      "currency": "string",
      "billingItems": {
        "lines": [
          {
            "lineId": "string",
            "priceId": "string",
            "payload": {
              "priceId": "string",
              "quantity": 0,
              "productId": "string",
              "productName": "string",
              "priceType": "string",
              "unitAmount": 0,
              "description": "string"
            },
            "overrides": {
              "quantity": 0,
              "unitAmount": 0,
              "description": "string",
              "invoiceDisplayName": "string"
            }
          }
        ],
        "couponIds": [
          "string"
        ]
      },
      "subtotal": 0,
      "total": 0,
      "metadata": {
        "property1": "string",
        "property2": "string"
      },
      "createdAt": "string",
      "updatedAt": "string",
      "voidReason": "manual",
      "terms": "string",
      "approvedAt": "string",
      "voidedAt": "string"
    }
  },
  "requestId": "string"
}
```
