---
title: "The POST SalesOrder endpoint returns an error when 'Free item' is selected on the order line"
description: "Earlier, when using the POST SalesOrder endpoint, it returned this error message when you had the check box ‘Free item’ selected on the order line: “An item with the same key has already been added”."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/release-notes/2021-05-11-the-post-salesorder-endpoint-returns-an-error-when-free-item-is-selected-on-the/index.md
lastmod: 2021-05-11
---

> Documentation index: https://docs.vismasoftware.no/visma-net-erp/llms.txt


# The POST SalesOrder endpoint returns an error when 'Free item' is selected on the order line

Last modified May 11, 2021

2021-05-11


Label: api:sales-order


Version: 8.48



Earlier, when using the POST SalesOrder endpoint, it returned this error message when you had the check box 'Free item' selected on the order line: "An item with the same key has already been added".\
This has now been fixed.



---

[View this page](https://docs.vismasoftware.no/visma-net-erp/release-notes/2021-05-11-the-post-salesorder-endpoint-returns-an-error-when-free-item-is-selected-on-the/)
