API Release news from May 23, 2023
· 3 min read
Here’s what’s news in API Release, which is in production since May 09, 2023!
Breaking changes:
- Fortunately, none! Let’s have a toast!
New features:
New credit-notes snapshot is ready to use
- API is enriched by new available snapshot covering GET List of all credit-notes
job:finishedwebhook also cover this new job type and is emitted immediatelly when job finished- please note: query filters for more granular snapshot data will be released in upcoming weeks
New invoices snapshot is ready to use
- API is enriched by new available snapshot covering GET List of all invoices
job:finishedwebhook also cover this new job type and is emitted immediatelly when job finished- please note: query filters for more granular snapshot data will be released in upcoming weeks
Order detail currently contains EAN also – will be released during 24/05 or 25/05
- GET Order detail currently contains items EAN also
- attribute can be found in
data.order.items - please note: historical order data will be migrated and EAN column will be fulfilled – based on current product EANs and their codes pairing
Improvements:
E-shop info is enriched by new attribute
- E-shop info endpoint is now eriched by default e-shop invoicing currency
eshop:currencieswebhook is also extended by mentioned attribute with respect to expected behavior
Support for 100% discount coupons was added
- on POST discount coupons set creation and POST discount coupons API currently allow to set
ratioproperty value with 1.0000 value included (but not higher) - please note: value must be from 0.0 to 1.0. Values in range 0.0000 to 1.0000 must pass – rule is the same for both endpoints
Bugfixes:
Fixed difference between the definition and the example in the documentation for adding a new traffic
- we fix a documentation for creating a new shipment, where the minimum shipping price was given as a string, but in the request definition, a number was given
Fixed sorting behavior of last changes endpoints
- we found an situation where some data on Last changes endpoints was missing
all the Last changesendpoints was improved in the sorting:- GET Last proforma invoice changes sort primarily by
changeTimenewly secondarily by the proformacodealso - GET Last invoice changes sort primarily by
changeTimenewly secondarily by by the invoicecodealso - GET Last customer changes sort primarily by
changeTimenewly secondarily by the customerguidalso - GET Last changes in distribution list sort primarily by
changeTimenewly secondarily by theemail - GET Last order changes sort primarily by
changeTimenewly secondarily by the ordercode - GET Last credit-note changes sort primarily by
changeTimenewly secondarily by the credit-notecode
- GET Last proforma invoice changes sort primarily by
Fixed language code data in e-shop info
- GET E-shop infocurrently returns selected language in administration settings on
/admin/nastaveni-obchodu-obecne/