# API Release news from June 05, 2023

URL: https://shoptet.dev/news/api/api-release-news-from-june-05-2023

June 6, 2023 · 2 min read
Marko Chytka

Here's what's news in API Release, which is in production since June 05, 2023!

## Upcoming Breaking changes:

#### **Newly returning error code when missing read or write access**

- We are currently returning `error 401` when `http-method-not-allowed`
- In upcoming month ( **no later than the end of June** ) we will take place an improvement where we will return `error 405` instead of `401` so we kindly recommend to prepare your integrations for this newly returned code

#### **No more support for duplicate Webhook URLs**

- In the next 2 months ( **no later than the end of July** ) we will stop support for duplicated Webhook URLs, which are registered in many cases for specific eshop/event and tries to register another one
- We kindly ask you to revise your registered URLs and deduplicate them – **otherwise we will make an deletion on our side without compensation**

## New features:

#### **New delivery-notes snapshot is ready to use**

- API is enriched by new available snapshot covering [GET List of all delivery-notes](https://api.docs.shoptet.com/shoptet-api/openapi/delivery-notes/getlistofalldeliverynotes)
- `job:finished` webhook also cover this new job type and is emitted immediatelly when job finished
- **please note:** query filters for more granular snapshot data will be released in upcoming weeks

#### **Order detail currently contains EAN also** –

- GET [Order detail](https://api.docs.shoptet.com/shoptet-api/openapi/orders/getorderdetail) currently contains items EAN also
- attribute can be found in `data.order.items`
- **please note** : historical order data will be migrated and EAN column will be fulfilled – based on current product EANs and their codes pairing

## Bugfixes:

- `404 - mistakes not found` – let's celebrate 🙂 !

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