Failing to update Marketing Activity

Trying to update a Pending Marketing Activity but keep failing.

Below piece of code works:

$query = <<

but when trying to change the status to something else e.g. ACTIVE it fails.

I tried everything in documentation but keep failing. [https://shopify.dev/apps/app-extensions/marketing-activities/reference/endpoints#create-a-marketing-activity](https://shopify.dev/apps/app-extensions/marketing-activities/reference/endpoints#create-a-marketing-activity)

I would appreciate any assistance.
1 Like

Hi @SMSto ,

I am facing the same issue.

Have you found the solution?

If yes, please let me know how you fix it?

Thank you

Fixed. Need to pass the utm params too.