API Release news from August 28, 2023
· 2 min read
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 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 (
pendingorrunning) stage - for example
https://api.myshoptet.com/api/products/snapshot?brandName=seiko&visibility=truevs.https://api.myshoptet.com/api/products/snapshot?visibility=true&brandName=seikowhich 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.idandvalues.id - attributes are also returned in
POSTandPATCHresponses
Improvements:
Adult only management via API
- POST Product insertion and PATCH Product update are enriched by new attribute
adult, by default set asfalse - 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_tokenerror will be thrown instead of currentinvalid_project
Bugfixes:
404 - mistakes not found– let’s celebrate 🙂 !