---
title: "Calculate the amendment cost"
method: POST
path: "/v1/amendment"
tags: ["Amendment"]
---

# Calculate the amendment cost

`POST /v1/amendment`

Generates a price quote based on specified amendment

## Headers

- `Authorization` string

## Request body

- CreateAmendmentQuoteDto
  - `tripCost` number
  - `tripStartDate` string, date-time
  - `tripEndDate` string, date-time
  - `policyCode` string, required

## Response `201`

The amendment quote has been successfully generated.

- CreateAmendmentQuoteResponseDto
  - `oldPrice` number, required
  - `newPrice` number, required
  - `diff` number, required
  - `changeKey` string, required
  - `expiration` number, required

## Other responses

- `400` — Unable to provide amendment quote for provided parameters
- `401` — Unauthorized

## Changes

- **2026-07-10** `e016afb8fdb3` — 1 info
  - api operation id `generate` removed and replaced with `createAmendmentQuote`
- **2026-07-09** `e95f3723e41f` — 2 info
  - api operation id `createAmendmentQuote` removed and replaced with `generate`
  - added the new optional `header` request parameter `Authorization`

[Change history](https://skmtc.dev/withfaye/apis/faye-partner-sales-api/changes/v1/amendment/post.md)

---

[API](https://skmtc.dev/withfaye/apis/faye-partner-sales-api.md) · [All operations](https://skmtc.dev/withfaye/apis/faye-partner-sales-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/withfaye/faye-partner-sales-api/revisions/e016afb8fdb3/schema)
