Updating SmartCampaigns using REST API | Community
Skip to main content
dcreagh
New Participant
February 15, 2022
Solved

Updating SmartCampaigns using REST API

  • February 15, 2022
  • 2 replies
  • 1824 views

Hello,

I have 30 smart campaigns that I need to activate with a scheduled recurrence.  I see that those values are in the Update Smart Campaign API call, but I'm not sure I can edit those. I use the marketorestpython library (jepcastelein).

That library does not include the update call.

I'm hoping that I can update the campaign  and then activate it.

 

Thanks,

Dennis

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Darshil_Shah1

Hey @dcreagh,

The update smart campaign endpoint let's you update name and/or description of the smart campaign. There's a campaign schedule endpoint that let's you schedule the smart campaigns to run either immediately or at a future date. Do note that this is a only one time batch run and not the schedule recurrence, which is what I think you need and hence this may not be the correct endpoint you for you. I think the best way to set the campaigns as schedule recurring campaigns would be to manually do it via UI. 

 

Hope this helps.

2 replies

SanfordWhiteman
New Participant
February 17, 2022

As Darshil notes, that’s read-only via API.

Darshil_Shah1
Darshil_Shah1Accepted solution
Community Manager
February 16, 2022

Hey @dcreagh,

The update smart campaign endpoint let's you update name and/or description of the smart campaign. There's a campaign schedule endpoint that let's you schedule the smart campaigns to run either immediately or at a future date. Do note that this is a only one time batch run and not the schedule recurrence, which is what I think you need and hence this may not be the correct endpoint you for you. I think the best way to set the campaigns as schedule recurring campaigns would be to manually do it via UI. 

 

Hope this helps.