API Release news from August 05, 2024
· 3 min read
Here’s what’s news in API Release that’s been in production since August 05, 2024!
Breaking Changes:
- Fortunately, none! Let’s have a toast!
New features:
New brand unique identifier
- To provide an even better integration environment, we have created a unique identifier for brands, in the form of
guid - We currently support on endpoints both – the original
codeand the newguid
Please note: We will no longer support for code (as the primary identifier) as of01/11/2024– so please make sure that new integrations already respect this statement
Variant main image identifier
- We made an improvement based on your feedback, where you pointed out that the variants have no direct identifier whether the main image is set at the variant level or inherited from the product, which complicates further operations
- We created here a new attribute for better and more straightforward identification
- This attribute is called
isProductDefaultImageand you can find it on endpoints such as Product Detail, Product List, Product Snapshot
- This attribute is called
New endpoints for GET & PATCH X+Y settings
- If you offer the option of X+Y discounts, we have enabled more detailed settings of such discounts, namely setting the checkout behaviour and setting the display in categories in two new endpoints
- GET X+Y discounts settings
- PATCH X+Y discounts settings update
- Please note here: All settings are optional, but at least one should be present. When updating
enableInCashdesksetting, on HU projects will throw an exception. If you’re targeting a discount to a specific category, right now, we only include products that have that category as their primary one. If you want to include all products in that category in the discount, not just the ones in the primary category, please usecategoryTargetingattribute withall-categoriesvalue.
- Please note here: All settings are optional, but at least one should be present. When updating
Improvements:
Enriched GET Product reviews endpoint
- We have enriched the endpoint GET Product reviews based on your feedbacks with attributes that better enable communication with customers who have added a review
- So now this endpoint includes
emailandcustomerGuid
{
"data": {
"reviews": [
{
"date": "2024-07-17T12:20:40+0200",
"rating": 1,
"description": "Nebyl jsem spokojený, budu dávat na reklamaci.",
"authorized": false,
"visible": true,
"fullName": "Jarda Houska",
"productGuid": "94c6d6e3-7481-11e8-8216-002590dad85e",
"productName": "Produkt s jednou variantou",
"orderCode": null,
"email": null,
"customerGuid": null,
"reaction": {
"reactionCreated": null,
"reactionFullName": null,
"reactionEmail": null,
"reactionText": null
}
}
]
}
}
Extendended response with images
- we’ve extended response with a property mention, if the image in the images array is the
mainImage - this extension has been applied to the following endpoints:
Bugfixes:
404 - mistakes not found– let’s celebrate 🙂 !
What we plan in upcoming days:
- Simplify the identification of sold out and restocked goods – BETA
- Expand order management options
- Bring a improvement for easier work in case of inventory control
Please note: the above outlook for 14 days is subject to change due to unexpected events or changes in priorities – we do not commit to deliver these outputs and outcomes. Thank you for your understanding.