# API Release news from July 03, 2023

URL: https://shoptet.dev/news/api/api-release-news-from-july-03-2023

July 3, 2023 · 2 min read
Marko Chytka

Here's what's news in API Release, which is in production since July 03, 2023!

## Upcoming Breaking changes:

- Fortunately, none! Let's have a toast!

## New features:

#### **New List of all articles snapshot is ready to use**

- API is enriched by new available snapshot covering [GET List of all articles](https://api.docs.shoptet.com/shoptet-api/openapi/articles/getlistallarticles)
- `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

#### **New method for distribution lists**

- [POST Insertion of distribution list](https://api.docs.shoptet.com/shoptet-api/openapi/e-mail-distribution-lists/createemaildistributionlist) is currently also accessible via API
- this endpoint allows to create specific newsletter distribution list
- endpoint for filling the list will be released in following release during upcoming 14 days

## Improvements:

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

- as we announced in [API Release news from June 05, 2023](/news/api/api-release-news-from-june-05-2023/) we change behavior when `http-method-not-allowed` and currently is `error 405` instead of `401` returned

#### **Improved exception message for an attempt to get access token**

- when you try to call `getAccessToken` on non-partner e-shop, you have historically received error message `The access token provided is invalid`
- we change this exception message and `Requested domain is not partner e-shop! You can obtain access token only through your partner e-shop.` is currently returned

## Bugfixes:

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

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