Skip to main content

API Release news from March 17, 2025

· 2 min read
Marko Chytka

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 as data.order.paid: false by 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 1 and the data.order.paid attribute will no longer be boolean/null, but only boolean – 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 isValid field, and if it is set to false, the document cannot be created and you will get error 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:
    • curl – You can use your own non-cURL client if you prefer.
    • json
    • psr/log
  • See our Readme for proper details, how to install, and how to start
  • Please don’t oversee the MIT license wording, either