This repository has been archived by the owner on Nov 2, 2022. It is now read-only.
Releases: Nosto/techdocs
Releases · Nosto/techdocs
1.4
1.3
- REST: We've deprecated the legacy point-of-sale(POS) REST APIs for sending offline purchase/receipt data. Please leverage the new GraphQL APIs to push offline conversion data. https://github.com/Nosto/techdocs/wiki/GraphQL:-Placing-Orders
1.2
- GraphQL: We've added a new endpoint for updating order-statuses. Read more here: https://github.com/Nosto/techdocs/wiki/GraphQL:-Updating-Order-Statuses
1.1
- JS API: We've added a new callback to the JS API. Along with the
postRender
callback hook, you have access to apreRender
hook as well. This hook is invoked prior to any onsite content being displayed. If you would like to access the raw response data to build any custom integrations, we recommend that you leverage this hook.
nostojs(api => {
api.listen("prerender", function(data) {
console.log(data);
});
});
1.0
- Implementation: We've shipped some massive improvements to how you get notified of errors and warnings when using the JS API. If you pass in invalid product-ids, invalid category names or tags, it will warn you in the browser console. This only works in the debug mode and you should see the errors in the browser console. So if you say I'm viewing category
/doesnotexist
, it will validate this against your product catalog to see if there are any products that have that criteria. Here's a screenshot: