advancedCommerceInfo
A response object you provide to present an offer or switch-plan recommendation message.
Declaration
object advancedCommerceInfoProperties
| Name | Type | Description |
|---|---|---|
messageIdentifier | messageIdentifier | The identifier of the message to display to the customer, along with the offer or switch-plan recommendation provided in |
advancedCommerceData | advancedCommerceData | A Base64-encoded JSON object which contains a JWS describing an offer or switch-plan recommendation. |
Mentioned in
Discussion
Use the advancedCommerceInfo object to indicate the message to display and the signed request.
Before using this object to provide a custom offer or switch-plan recommendation, ensure that the app has a default message that you’ve assigned to its generic product identifiers. For more information on setting up generic product identifiers, see Set up generic product identifiers in Setting up your project for Advanced Commerce API.
If you don’t have access to the Advanced Commerce API (ACA), use the alternateProduct or promotionalOffer keys of the RealtimeResponseBody.
For more information, see Advanced Commerce API.