API Release news from March 17, 2025
· 2 min read
Here’s what’s news in API Release that’s been in production since March 17, 2025!
Breaking Changes:
New orders created by the e-shop will be set as unpaid
- From
April 1, new orders created by the e-shop will be set asdata.order.paid: falseby default, instead of the current NULL default value - All other operations, such as inserting or updating orders, will still support NULL, but we plan to remove this option from about
June 1and thedata.order.paidattribute will no longer beboolean/null, but onlyboolean– however, the date is yet to be specified
Disallowing the creation of documents from invalid reference document
- As we’ve mentioned in previous release news last week, we put into production a modification disabling the creation of documents from an invalid reference document (e.g. an credit note from a non-valid invoice, etc.)
- This refers to the
isValidfield, and if it is set tofalse, the document cannot be created and you will geterror 422 - Unprocessable entity
Validation of duplicate pricelist values
- Due to duplicate values in the request points for the PriceList update endpoint, errors and unexpected behavior occurred
- Please review your integrations to prevent duplicate items from continuing to appear in your requests, because in the upcoming days (most likely
from March 24) we will run validation for duplicates and in case of duplicate data the request will end up with a validation error
New features:
PHP Shoptet SDK version 0.0.1 available
- We are happy to announce that we are releasing the first MVP version of our Shoptet SDK, the official PHP library for the Shoptet REST API, version 0.0.1
- SDK requires the following extensions and libraries to work properly:
- See our Readme for proper details, how to install, and how to start
- Please don’t oversee the MIT license wording, either