GraphQL INPUT_OBJECT

UpdatePromotionInput

Input for promotion update. A promotion is a price discount, such as a specified percentage or amount of money off of the regular product price.

link Definition

  • input UpdatePromotionInput {
  • # Unique ID of the promotion
  • id: Int!
  • # Name of the promotion.
  • name: String
  • # First date and time in which the promotion is valid.
  • validFrom: DateTime
  • # Last date and time in which the promotion is valid.
  • validTo: DateTime
  • # Set to true if the promotion should be active.
  • isActive: Boolean
  • # Options to limit the discount and to specify a pricing model.
  • discount: CreatePromotionPriceSettingsInput
  • # To credit an affiliate for every purchase made with a coupon from this
  • # promotion, enter that affiliate's ID number. Use this for affiliates who
  • # distribute coupons through mailings, print media, and so on.
  • affiliateId: Int
  • # List of promoted products.
  • productList: PromotionProductListInput
  • # Coupon settings.
  • couponSettings: PromotionCouponSettingsInput
  • # List of price configurations that limit the promotion.
  • priceConfigurationList: PriceConfigurationListInput
  • # X-parameters for the promotion. X-parameters are components of URLs that are
  • # used to pass information through the checkout process.
  • extraParametersString: String
  • # Minimum number of items for the cart level promotion to be applied.
  • minimumDistinctItemCount: Int
  • }

link Required by