# API Release news from February 27, 2023

URL: https://shoptet.dev/news/api/api-release-news-from-february-27-2023

February 27, 2023 · 3 min read
Marko Chytka

Here's what's news in API Release, which is in production since February 27, 2023!

## Breaking changes:

- Please note the planned breaking change in our [article](/news/api/company-identifiers-deletion/) which will take place at `13. 03. 2023` .

## New features:

#### **API Images management**

- We add a new part of API for images management.
- Proper funcionality and behavior descriptions is avalable in seperate [article](/news/api/api-images-management/) .

#### **Credit-notes creation support for items and amount attributes**

- on existing endpoint [Credit note from invoice creation](https://api.docs.shoptet.com/shoptet-api/openapi/credit-notes/createcreditnotefrominvoice) , we newly support usage both of attribute `useItemIds` as currently works, or `items` an their `amount`**but with fact, that `useItemIds` will be mark as a future deprecated**
- field `items` can contain only objects with attributes `invoiceItemId` a amount
- **please note that `InvoiceItemId` cannot be NULL**
- for adding `items` , which were not included in original invoice will be possible to add only via existing endpoint via [Creation of credit note item](https://api.docs.shoptet.com/shoptet-api/openapi/credit-notes/createcreditnoteitem) .

#### **Currencies and e-shop design changes are now covered by webhook**

- [Webhook event types](https://api.docs.shoptet.com/shoptet-api/openapi/section/code-lists/webhook-event-types) are enriched by new option for currencies settings and e-shop design change event types, which can be registered as a `eshop:currencies` and `eshop:design` .

#### **Order deletion is supported via API**

- We are adding a new endpoint for the purpose of deleting orders. New endpoint can be found in our [API documentation](https://api.docs.shoptet.com/shoptet-api/openapi/orders/deleteorder) .

#### **Order sources were improved and included to API functions**

- For more proper daily routine or in case of multi distribution channel activities is support for improved order sources (including cash-desk granularity) implemented in API.
- Detailed information about the current available order sources within the e-shop is readable via [List of order sources](https://api.docs.shoptet.com/shoptet-api/openapi/orders/getlistofordersources) .

## Improvements:

#### **`OrderGuid` is currently part of provided data set**

- Our [orderDetail](https://api.docs.shoptet.com/shoptet-api/openapi/orders/getorderdetail) , [List of orders](https://api.docs.shoptet.com/shoptet-api/openapi/orders/getlistoforders) and [List of all orders](https://api.docs.shoptet.com/shoptet-api/openapi/orders/getlistofallorders) currently contains also atrritube `orderGuid` .

#### **VAT status validation result in orderDetail**

- Our existing endpoint with [orderDetail](https://api.docs.shoptet.com/shoptet-api/openapi/orders/getorderdetail) is enhanced by VAT validation status results for specifically Reverse Charge VAT regime
- attribute is findable as `data.order.billingAddress.vatIdValidationStatus` .

#### **Product dimensions are part of API data set now**

- [PATCH](https://api.docs.shoptet.com/shoptet-api/openapi/products/updateproduct) , [POST](https://api.docs.shoptet.com/shoptet-api/openapi/products/createproduct) and [GET](https://api.docs.shoptet.com/shoptet-api/openapi/products/getproductdetail) products endpoints contains information and possibility for `productDimensions` operations, including variants products also.
- format is available as `min:0.1cm` ; `max:9999.9cm` (=99m)

## Bugfixes:

#### **Last product changes includes filtering parameter changes**

- We fix a incorrect behavior where some filtering parameters changes were not included in Last product changes [endpoint](https://api.docs.shoptet.com/shoptet-api/openapi/products/getlastproductchanges) .

**Tags:**
- [API](/news/tags/api/)
