指定更新营销活动所需的输入字段-MarketingActivityUpdateInput 输入对象
指定更新营销活动所需的输入字段。
输入栏
- adSpend(
[MoneyInput](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneyinput))
在此营销活动上花费的累计金额。不建议使用此参数:使用MarketingEngagementCreate.MarketingEngagementInput.adSpendGraphQL发送广告支出。 - budget(
[MarketingActivityBudgetInput](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/marketingactivitybudgetinput))
此营销活动的预算。 - context(
[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
Shopify在更新营销活动回调期间提供的编码上下文。不建议使用此参数:Shopify在回调中不再需要此上下文。 - errors(
[JSON](https://shopify.dev/docs/admin-api/graphql/reference/scalar#json-2021-01))
应用尝试完成此活动时生成的错误消息。 - formData(
[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
营销活动的表单数据。 - id(
[ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)) 必需的
此营销活动的ID。 - marketedResources(
[[ID!]](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01))在此营销活动中营销的商品的列表。这些项目的有效类型为:ProductShop(必须是您当前的店铺)。
- marketingRecommendationId(
[ID](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01))
创建此营销活动的建议的ID(如果存在)。 - status(
[MarketingActivityStatus](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/marketingactivitystatus))
营销活动的当前状态。 - targetStatus(
[MarketingActivityStatus](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/marketingactivitystatus))
营销活动的目标状态。 - title(
[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
此营销活动的标题。 - utm(
[UTMInput](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/utminput))
指定 与相关营销活动相关联的 Urchin交通模块(UTM)参数。除Storefront App之外的所有营销策略都需要UTMInput。此utm参数只能设置一次,不能修改。
