API Release news from December 04, 2024
· 2 min read
API Release news from December 04, 2024
Here’s what’s new in API Release that’s been in production since December 04, 2024!
Breaking Changes:
- Fortunately, none! Let’s have a toast!
New features:
New discountCoupons:webhooks
- We have prepared a new set of webhooks for discount coupons
- You can use both detailed single webhooks and massWebhooks, which cover bulk actions such as deleting or creating
New option to upload images to articles
- We have brought the long-awaited option of uploading images to articles.
- You can use our existing File Upload for this, and then you can add image names to articles in 2 new fields –
sourceImageNameandsourceOgImageName - When set to
null, the image will be removed.
New single file upload endpoint
- We also added a single file upload endpoint to the above functionality (images to articles), making work more convenient and efficient.
- Please, do not use this endpoint for batch file upload!
New ability to copy orders via API
- Based on your feedback, we are introducing a new option to copy orders to the API, for example, for subscription purposes.
- This option allows you to choose the scope in which the order will be copied. The scope can be
all– copy the order with all its itemsno-billing-shipping– copy the order without billing and shipping itemscontact-only– copy the order without any items
- Please note, that copy order creates stock demand (if the stock module is active and a negative stock amount is not allowed).
- If this demand overflows the stock amount, the order will be fully created with error order-duplication-stock-overflow.
Bugfixes:
404 - mistakes not found– let’s celebrate 🙂 !
What we plan in the upcoming days:
- **In the upcoming days and weeks, we will focus primarily on stability, so we are postponing the major release until January 13, 2025, at the earliest. Thank you for your understanding.**🎄