📥Set signal
Using set
signal
set
signalThe set
signal is how a partner 1) creates a quote request for a customer, 2) formats the displayed currency and 3) defines the order total value displayed in the element.
For existing XCover partners, this replaces the quote API request, with a similar field structure.
Call signalLayer.push()
with set
as the value for the signal
property, add onSet
and data
as in the following example:
The onSet
property is a Promise function that will resolve with the quote response if successful, and the data
property is the quote request object needed for the request.
In order to get the quote response data for booking request make sure to store the response from the onSet
promise.
The resolved value contains the needed fields for Booking request, including the new BrightWrite details object.
See Quote request fields for a simplified reference to the data object
Last updated