Skip to main content

294 posts tagged with "API"

Release notes and breaking changes for the Shoptet API.

View All Tags

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.

Product changes – “from” validation

· One min read
Pavel Husa

All /changes endpoints provide information about recent changes to data to signalize which entities might need to be re-processed. Although some modification times are far in the past, we guarantee only 30 days of history to be available complete. The information further in the past is most probably incomplete. Despite of this fact we have seen many API users doing calls with ?from= parameter much older then 30 days, which cause performance issues and provide only partial results. As a consequence we decided to validate the ?from= parameter in the Recent product changes and if older than 32 days, the request is declined (with 400 status code).

Add and modify filtering parameters

· One min read
Pavel Husa

We have extended endpoints Insert product and Modify product to support also filtering parameters – see description of the request body objects in the documentation, right-most pane, section Request » Attributes. The filtering parameters and their values must already exist in the eshop, they are not created automatically.

Recycling fee in Order detail

· One min read
Pavel Husa

Endpoint Order detail was extended to contain recycling fee (contribution). Items category and fee (amount) are available for each item, where applicable. The fee is always specified per order item and is already multiplied by item amount and eventually converted to the order currency, if different.

Add or modify meassurement units in product detail

· One min read
Pavel Husa

We have extended Product insert and Product update to support also meassurement units. This means, when adding a new product or changing an existing product, you can provide package amount and unit and comparable unit and amount. Meassurement units are provided on product variant level. For available fields, see the request body schema in the API documentation, object measureUnit.