Skip to main content

News

API and frontend release news for developers building on Shoptet.

Categories: API news · Frontend news

Subscribe: RSS · Atom · JSON

Results for whisperer in JSON format

· One min read
Pavel Husa

From now on you can get search results for whisperer in JSON format. All you have to do is add the format parameter with json value. For example https://classic.shoptet.cz/action/ProductSearch/ajaxSearch/?language=cs&string=bosch&format=json.

Basic product update endpoint

· One min read
Pavel Husa

Today we have introduced a new endpoint to modify basic product attributes, such as name, description, meta tags, visibility and similar. For products without variants it is also possible to change various codes, such as EAN, ISBN, MPN and similar. The product can be specified by a GUID or by code. For detailed description of all modifiable items including examples, check the request body schema in the API documentation.

Change to the /changes endpoints

· One min read
Pavel Husa

For many entities we have /changes endpoint which informs about recently added, modified or deleted entities, so you can read and keep latest version of each entity. Currently we are producing three change types (add, edit, delete) whichever is the latest.

Advantages of using Shoptet CDN

· 2 min read
Pavel Husa

If you need to include own script or stylesheet, we strongly recommend using Shoptet CDN (cdn.myshoptet.com). There are several advantages when using Shoptet CDN:

Note about XHR requests

· 2 min read
Pavel Husa

We do not like unnecessary XHR requests due to amplification of requests. Please consider carefully, if it’s really necessary to create new XHR request. If so, try to cache the results and not to make these requests with every page load.

Information about products in JavaScript

· 2 min read
Pavel Husa

Did you know that in JavaScript you can find information about all products that page contains? Try to type getShoptetProductsList() to browser’s console. Key of object is priceId of product, you can find it within each product as hidden input.