GraphQL GraphQL INPUT_OBJECT
CreatePromotionInput
Input for created promotion. A promotion is a price discount, such as a specified percentage or amount of money off of the regular product price.
link Definition
- input CreatePromotionInput {
- # Unique ID of the client who offers the promoted product for sale.
- Int! :
- # Name of the promotion.
- String! :
- # First date and time in which the promotion is valid.
- DateTime :
- # Last date and time in which the promotion is valid.
- DateTime :
- # Set to true if the promotion should be active.
- Boolean! :
- # Options to limit the discount and to specify a pricing model.
- 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.
- Int :
- # List of promoted products.
- PromotionProductListInput :
- # Coupon settings.
- PromotionCouponSettingsInput :
- # List of price configurations that limit the promotion.
- PriceConfigurationListInput :
- # X-parameters for the promotion. X-parameters are components of URLs that are
- # used to pass information through the checkout process.
- String :
- # The type of the promotion.
- PromotionTypeEnum :
- # Minimum number of items in order for the cart level promotion to be applied.
- Int :
- }