Quotes Frontend API

Front-End API 

In the Paper Plane release we decided to build a front-end API that will like allow external applications' front-end to integrate with the Pricefx front-end or the other way around: we can integrate some external applications front-end inside Unity in Pricefx.

In Paper Plane, this upgrade uses Unity messaging API. Learn more about it, here.

The example you are about to see was built for demo and training purposes, and it is a very simple application, an e-shop like application.

What you see is Pricefx rendered inside an iframe and these two applications can communicate together using the Unity messaging API. This means that for example, you can create a new quote containing two items that have just been added to the shopping cart.

When you are creating a quote, you can see the new quote was created automatically.

You also have the option to add more items to the current quote. And here you can see also what what's the what's the message that is sent to Pricefx.

 

Now let’s take a look at how we can go the other way around, from Pricefx into an external front-end application.

 

Not every application allows to be rendered inside in our frame.