API Release news from February 27, 2023
· 3 min read
Here’s what’s news in API Release, which is in production since February 27, 2023!
Breaking changes:
- Please note the planned breaking change in our article which will take place at
13. 03. 2023.
New features:
API Images management
- We add a new part of API for images management.
- Proper funcionality and behavior descriptions is avalable in seperate article.
Credit-notes creation support for items and amount attributes
- on existing endpoint Credit note from invoice creation, we newly support usage both of attribute
useItemIdsas currently works, oritemsan theiramountbut with fact, thatuseItemIdswill be mark as a future deprecated - field
itemscan contain only objects with attributesinvoiceItemIda amount - please note that
InvoiceItemIdcannot be NULL - for adding
items, which were not included in original invoice will be possible to add only via existing endpoint via Creation of credit note item.
Currencies and e-shop design changes are now covered by webhook
- Webhook event types are enriched by new option for currencies settings and e-shop design change event types, which can be registered as a
eshop:currenciesandeshop:design.
Order deletion is supported via API
- We are adding a new endpoint for the purpose of deleting orders. New endpoint can be found in our API documentation.
Order sources were improved and included to API functions
- For more proper daily routine or in case of multi distribution channel activities is support for improved order sources (including cash-desk granularity) implemented in API.
- Detailed information about the current available order sources within the e-shop is readable via List of order sources.
Improvements:
OrderGuid is currently part of provided data set
- Our orderDetail, List of orders and List of all orders currently contains also atrritube
orderGuid.
VAT status validation result in orderDetail
- Our existing endpoint with orderDetail is enhanced by VAT validation status results for specifically Reverse Charge VAT regime
- attribute is findable as
data.order.billingAddress.vatIdValidationStatus.
Product dimensions are part of API data set now
- PATCH, POST and GET products endpoints contains information and possibility for
productDimensionsoperations, including variants products also. - format is available as
min:0.1cm;max:9999.9cm(=99m)
Bugfixes:
Last product changes includes filtering parameter changes
- We fix a incorrect behavior where some filtering parameters changes were not included in Last product changes endpoint.