Skip to main content

CampaignInput

type CampaignInput {
id: ID
applicableCustomerGroupIds: [String!]
applicableCustomerIds: [String!]
applicablePrice: CampaignApplicablePriceEnum!
applyCampaignToProductPrice: Boolean
buyXThenGetY: BuyXThenGetYInput
canCombineWithOtherCampaigns: Boolean!
createdFor: CampaignCreatedForEnum
currencyCodes: [String!]
dateRange: CampaignDateRangeFieldInput
fixedDiscount: FixedDiscountInput
hasCoupon: Boolean!
includeDiscountedProducts: Boolean
isFreeShipping: Boolean
onlyUseCustomer: Boolean
salesChannelIds: [String!]
title: String!
translations: [CampaignTranslationInput!]
type: CampaignTypeEnum!
usageLimit: Int
usageLimitPerCustomer: Int
}

Fields

idID
applicableCustomerGroupIds[String!]
applicableCustomerIds[String!]
applicablePriceCampaignApplicablePriceEnum!required
applyCampaignToProductPriceBoolean
buyXThenGetYBuyXThenGetYInput
canCombineWithOtherCampaignsBoolean!required
currencyCodes[String!]
fixedDiscountFixedDiscountInput
hasCouponBoolean!required
includeDiscountedProductsBoolean
isFreeShippingBoolean
onlyUseCustomerBoolean
salesChannelIds[String!]
titleString!required
typeCampaignTypeEnum!required
usageLimitInt
usageLimitPerCustomerInt