INPUT_OBJECT

PromotionInput

link GraphQL Schema definition

  • input PromotionInput {
  • name: String!
  • description: String
  • startsAt: ISO8601DateTime
  • endsAt: ISO8601DateTime
  • teaser: String
  • suspended: Boolean
  • # Type of discount. Required if discount_amount is set.
  • discountType: DiscountTypeEnum
  • # Every dollar amount for which discount_amount gets applied to. Required if
  • # discount_type set as DOLLAR_REPEATING
  • discountForEvery: Float
  • discountAmount: Float
  • freeShipping: Boolean
  • freeShippingDomesticOnly: Boolean
  • url: String
  • costPercentageBorneByMarketplace: Float
  • saleItemsExcluded: Boolean
  • bonusItemAdvertLegacyId: Int
  • buyXGetOneFree: Int
  • # e.g. '2', for 'Buy 2 get 1 free'
  • minimumSpend: Float
  • maximumSpend: Float
  • maximumVariantWeight: Float
  • maximumVariantVolume: Float
  • advertsIncludedLegacyIds: [Int!]
  • advertsExcludedLegacyIds: [Int!]
  • variantsIncludedLegacyIds: [Int!]
  • variantsExcludedLegacyIds: [Int!]
  • loyaltyProgramLevels: [ID!]
  • brandsIncludedIds: [ID!]
  • brandsExcludedIds: [ID!]
  • categoriesIncludedIds: [ID!]
  • categoriesExcludedIds: [ID!]
  • }