---
title: advancedCommerceInfo
framework: retentionmessaging
role: symbol
role_heading: Object
path: retentionmessaging/advancedcommerceinfo
---

# advancedCommerceInfo

A response object you provide to present an offer or switch-plan recommendation message.

## Declaration

```data
object advancedCommerceInfo
```

## Properties

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

Retention Messaging API changelog

## Discussion

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. note: Providing advancedCommerceInfo isn’t available for subscription bundles; respond with a message instead. 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.

## See Also

### Real-time response body

- [message](retentionmessaging/message.md)
- [alternateProduct](retentionmessaging/alternateproduct.md)
- [promotionalOffer](retentionmessaging/promotionaloffer.md)
