API Release news from July 02, 2024
· 3 min read
Here’s what’s news in API Release that’s been in production since July 02, 2024!
Breaking Changes:
Preparation of stronger oAuth tokens
- We have laid the groundwork for more secure client secrets
- The new secrets will be in the format of prefix + secret, for example:
shoasecret_123 - The new token length will be at least 75 characters instead of 32 (but this can be extended in the future)
- The new secrets will have a limited TTL
- The new secrets will be in the format of prefix + secret, for example:
- This change will be gradual, with multiple steps and improvements to the current UX regarding token handling/generation in the administration section of your partner shop – You will be informed about the upcoming changes in advance
Please note: Existing secrets will continue to work without any changes in the meantime, but they will be eventually scheduled for removal.
Improvements:
Proof payment documents enriched by vatMode
- Some of you have pointed out the absence of the
vatModeattribute in Proof payments documents, it is also possible to use the OSS mode - We’ve enriched the documents with vatMode, as we already provide for invoices, credit notes and proforma invoices
- The vatMode is NULLable and so if it is set to
NULL, the value will default toNormalby Shoptet - attribute si now available on following endpoints:
Enriched product insertion with currency
- for those clients who use foreign currencies, we have prepared the possibility to control currencies when creating a product through Product insertion endpoint, by adding new optional parameters (
currencyandprice) to the body of the product insertion request - attributes cannot be NULL, you can send one, both or none of the attributes in the request body
- otherwise we will use default admin currency
Enriched price list update with currency
- if you update the price list of a specific item, you can also update the currency of its price since the last release
Attention: this operation is only an update of the currency identifier and there is no currency conversion!
New Features:
PATCH Invoice link with Proof payment
- We have identified your need for a specific endpoint to help solve the use case where an API user wants to reconnect an invoice and proof of payment received to a payment.
- Out of several options, we decided to address this through a isolated PATCH Invoice link proof payment
- This endpoint will solve only the relationship between
invoice.codeandproofPayments.code
Bugfixes:
404 - mistakes not found– let’s celebrate 🙂 !