Product images deletion
We are working hard to support product images maintenance via API. As one of the preparation steps we have released two DELETE endpoints today:
Release notes and breaking changes for the Shoptet API.
View All TagsWe are working hard to support product images maintenance via API. As one of the preparation steps we have released two DELETE endpoints today:
Today we have introduced two new DELETE endpoints related to discount coupons:
Today we have changed some of the previously announced backwards incompatible changes. All of them are related to extended brand field – formerly only the brand name was provided, now endpoints use an object containing both code and name of a brand. In particular:
We have extended Order detail and Insert new order endpoints to support language of an order – field data.language. Using this field you can provide localized view on orders for foreign customers.
We have enhanced the Product update endpoint to support variants. Now it is possible to specify the most important variant parameters including variant parameters.
We have added one new item into Order detail endpoint response: onlinePaymentLink. In case of an online payment it contains a link to the payment gateway with uniq code for each order. The link can be used for later payment, if it was not performed immediately after the order had been submitted for some reason.
We have added a new endpoint List of product images, which is a thin focused endpoint to retrieve all images of a product. This might be fast alternative to Product detail endpoint called with ?include=images, if you are focused just on images. And this is also a signal we are going to introduce more endpoints to work with images in the API.
The family of /changes endpoints has a new member: Proforma invoice changes. As all the other /changes endpoints, it shows the last add/edit or delete event to a proforma invoice (always the last action only). History is guaranteed for 30 days. The endpoint (as all the others) does not contain all proforma invoices, it is intended to keep track of changes after all proforma invoices are read using List of proforma invoices and Proforma invoice detail.
We have extended endpoint Order detail to provide also selected surcharge parameters selected by the buyer while putting a product into the cart. You have to call the endpoint with ?include=surchargeParameters and you will find them (if applicable to the product) in data.order.items[].surchargeParameters[] array. All parameter names, their values and surcharge prices are provided.
We have introduced 3 new endpoints to generate discount coupons.