Expand my Community achievements bar.

Is there a way to desactivate/unpublished an offer automatically?

Avatar

Level 3

Is there a way to desactivate/unpublished an offer automatically?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Employee

Under schema nms:offer there is a Cancel operation 

vraghav_0-1718796689251.png

 

It takes 3 arguments namely

offerId

comment

offerSpaces

vraghav_1-1718796835450.png

 

Pass in the ID value of offer and the spaces from where you wish to deactivate the offer along with a comment.

 

From within JS of Adobe Campaign you can call the same function. Kindly refer to https://experienceleague.adobe.com/developer/campaign-api/api/sm-offer-Cancel.html

 

Please make sure you take necessary action on propositionRcp records which are in either Presented or Activated status. You might wish to cancel their status as well.

Avatar

Level 3

@vraghav wrote:

Under schema nms:offer there is a Cancel operation 

vraghav_0-1718796689251.png

 

I dont have this view under explorer, I am on classic v7.