---
title: "Changes to Create a new draft credit"
method: POST
path: "/v1/salecredits"
---

# Changes to Create a new draft credit

`POST /v1/salecredits`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 3 revisions.

- **2026-09-14** `4f7fa64cf9e3`: 1 breaking, 6 warning, 55 info
- **2026-08-18** `e65392ac5b5f`: 12 info

## Changes

- **2026-09-14** `4f7fa64cf9e3`: 1 breaking, 6 warning, 55 info
  - removed the media type `application/json-patch+json` from the request body
  - removed the request property `lines/items/marginRate` (media type: application/json)
  - removed the request property `lines/items/marginRate` (media type: text/json)
  - removed the request property `lines/items/marginRate` (media type: application/*+json)
  - removed the optional property `lines/items/marginRate` from the response with the `200` status (media type: text/plain)
  - removed the optional property `lines/items/marginRate` from the response with the `200` status (media type: application/json)
  - removed the optional property `lines/items/marginRate` from the response with the `200` status (media type: text/json)
  - endpoint deprecated
  - added the new optional request property `lines/items/markupRate` (media type: application/json)
  - added the new optional request property `lines/items/markupRate` (media type: text/json)
  - added the new optional request property `lines/items/markupRate` (media type: application/*+json)
  - added the new optional request property `lines/items/product/margin` (media type: application/json)
  - added the new optional request property `lines/items/product/margin` (media type: text/json)
  - added the new optional request property `lines/items/product/margin` (media type: application/*+json)
  - added the new optional request property `lines/items/product/marginRate` (media type: application/json)
  - added the new optional request property `lines/items/product/marginRate` (media type: text/json)
  - added the new optional request property `lines/items/product/marginRate` (media type: application/*+json)
  - added the new optional request property `lines/items/product/markupRate` (media type: application/json)
  - added the new optional request property `lines/items/product/markupRate` (media type: text/json)
  - added the new optional request property `lines/items/product/markupRate` (media type: application/*+json)
  - added the new optional request property `lines/items/product/metadata` (media type: application/json)
  - added the new optional request property `lines/items/product/metadata` (media type: text/json)
  - added the new optional request property `lines/items/product/metadata` (media type: application/*+json)
  - added the new optional request property `lines/items/product/taxExcludedPrice` (media type: application/json)
  - added the new optional request property `lines/items/product/taxExcludedPrice` (media type: text/json)
  - added the new optional request property `lines/items/product/taxExcludedPrice` (media type: application/*+json)
  - added the new optional request property `lines/items/product/taxIncludedPrice` (media type: application/json)
  - added the new optional request property `lines/items/product/taxIncludedPrice` (media type: text/json)
  - added the new optional request property `lines/items/product/taxIncludedPrice` (media type: application/*+json)
  - request property `lines/items/product/isUnitPriceTaxIncluded` deprecated (media type: application/json)
  - request property `lines/items/product/isUnitPriceTaxIncluded` deprecated (media type: text/json)
  - request property `lines/items/product/isUnitPriceTaxIncluded` deprecated (media type: application/*+json)
  - request property `lines/items/product/unitPrice` deprecated (media type: application/json)
  - request property `lines/items/product/unitPrice` deprecated (media type: text/json)
  - request property `lines/items/product/unitPrice` deprecated (media type: application/*+json)
  - added the optional property `lines/items/markupRate` to the response with the `200` status (media type: text/plain)
  - added the optional property `lines/items/markupRate` to the response with the `200` status (media type: application/json)
  - added the optional property `lines/items/markupRate` to the response with the `200` status (media type: text/json)
  - added the optional property `lines/items/product/margin` to the response with the `200` status (media type: text/plain)
  - added the optional property `lines/items/product/margin` to the response with the `200` status (media type: application/json)
  - …22 more
- **2026-08-18** `e65392ac5b5f`: 12 info
  - added the optional property `cancellationInvoiceId` to the response with the `200` status (media type: text/plain)
  - added the optional property `cancellationInvoiceId` to the response with the `200` status (media type: application/json)
  - added the optional property `cancellationInvoiceId` to the response with the `200` status (media type: text/json)
  - added the optional property `cancellationInvoiceNumber` to the response with the `200` status (media type: text/plain)
  - added the optional property `cancellationInvoiceNumber` to the response with the `200` status (media type: application/json)
  - added the optional property `cancellationInvoiceNumber` to the response with the `200` status (media type: text/json)
  - added the optional property `isCancelled` to the response with the `200` status (media type: text/plain)
  - added the optional property `isCancelled` to the response with the `200` status (media type: application/json)
  - added the optional property `isCancelled` to the response with the `200` status (media type: text/json)
  - added the optional property `replacedBy` to the response with the `200` status (media type: text/plain)
  - added the optional property `replacedBy` to the response with the `200` status (media type: application/json)
  - added the optional property `replacedBy` to the response with the `200` status (media type: text/json)

---

[Operation](https://skmtc.dev/altoviz/apis/altoviz-api/docs/v1/salecredits/post.md) - [API](https://skmtc.dev/altoviz/apis/altoviz-api.md) - [Page](https://skmtc.dev/altoviz/apis/altoviz-api/changes/v1/salecredits/post)
