# API Release news from August 28, 2023

URL: https://shoptet.dev/news/api/api-release-news-from-august-28-2023

August 29, 2023 · 2 min read
Marko Chytka

Here's what's news in API Release, which is in production since August 28, 2023!

## Upcoming Breaking changes:

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

## New features:

#### **New restrictions aimed on async jobs**

- as we announced in [release news from August 15](/news/api/api-release-news-from-august-15-2023/) a new validation process is released, where the possibility of concurent run of async jobs with the same URL multiple times is currently not allowed, while the previous one with same URL is in ( `pending` or `running` ) stage
- for example `https://api.myshoptet.com/api/products/snapshot?brandName=seiko&visibility=true` vs. `https://api.myshoptet.com/api/products/snapshot?visibility=true&brandName=seiko` which means the same filtration parameters in the URL, regardless of their order

#### **Enrichment of filtering parameters with IDs**

- Following endpoints are from the last release enriched by `filteringParameters.id` and `values.id`
- [List of filtering parameters](https://api.docs.shoptet.com/shoptet-api/openapi/filtering-parameters/getlistoffilteringparameters)
- [Detail of filtering parameter](https://api.docs.shoptet.com/shoptet-api/openapi/filtering-parameters/getdetailoffilteringparameter)
- attributes are also returned in `POST` and `PATCH` responses

## Improvements:

#### **Adult only management via API**

- [POST Product insertion](https://api.docs.shoptet.com/shoptet-api/openapi/products/createproduct) and [PATCH Product update](https://api.docs.shoptet.com/shoptet-api/openapi/products/updateproduct) are enriched by new attribute `adult` , by default set as `false`
- we are already providing this attribute in GET Product detail, as `adult:true/false`

#### **Partner project validation for obtaining new access token was improved**

- when asking for non-partner project token, new `invalid_token` error will be thrown instead of current `invalid_project`

## Bugfixes:

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

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