Is there a way to desactivate/unpublished an offer automatically? | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

vraghav
Adobe Employee
Adobe Employee
June 19, 2024

Under schema nms:offer there is a Cancel operation 

 

It takes 3 arguments namely

offerId

comment

offerSpaces

 

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.

rbiriAuthor
Level 3
June 20, 2024

@vraghav wrote:

Under schema nms:offer there is a Cancel operation 

 

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