Skip to main content

News

API and frontend release news for developers building on Shoptet.

Categories: API news · Frontend news

Subscribe: RSS · Atom · JSON

Store Rating in JSON format

· One min read
Pavel Husa

We are now providing Store Rating info in JSON format. It can be used to get that data and instead of scraping them from DOM, you can access them directly.
We kept the same URL, but from now you can request JSON format when you send header content-type: application/json which make it pretty easy if you are using this URL now.

Minor accessibility improvements

· One min read
Martin Stehlík

In the coming days, there will be release aiming at increasing accessibility of our templates. It will consist of several minor changes that should not have any negative impact on template modifications or blank templates in most cases. However, just to be sure, below are listed some of the more sensitive changes for reference.

Products changes paging changed

· One min read
Pavel Husa

We have seen the Last products changes endpoint is difficult to iterate when there are too many changes (pages). And it also causes high load on our servers. We have analysed the calls and we found out extending the paging to 1000 items per page makes their reading much easier, faster and reliable while consuming less HW resources on our side. It is now possible to call the /api/products/changes?itemsPerPage=1000 with 1000 as the maximum value.

Upload product images via API

· One min read
Pavel Husa

We have finalized API support for product images. There is a new endpoint Product images insert. Within the request you can submit multiple images for one product. Because image upload and processing can take longer time, the processing is asynchronous. Asynchronous processing is new to our API and it is described in detail on a separate page Asynchronous requests. Although you will probably use this endpoint for common product images, 360° images can be uploaded, too.

Create category endpoint

· One min read
Pavel Husa

We have added a new endpoint Create product category. You can specify most of the category parameters, however most of them are optional. The behavior of default values and validations is consistent with eshop administration.