OBJECT
Promotion
A promotion, sale, or special discount.
link GraphQL Schema definition
- type Promotion implements Node {
- # Adverts excluded from this promotion.
- #
- # Arguments
- # after: Returns the elements in the list that come after the
- # specified cursor.
- # before: Returns the elements in the list that come before the
- # specified cursor.
- # first: Returns the first _n_ elements from the list.
- # last: Returns the last _n_ elements from the list.
- String, : String, : Int, : Int): AdvertsConnection ( :
- # Adverts included in this promotion.
- #
- # Arguments
- # after: Returns the elements in the list that come after the
- # specified cursor.
- # before: Returns the elements in the list that come before the
- # specified cursor.
- # first: Returns the first _n_ elements from the list.
- # last: Returns the last _n_ elements from the list.
- String, : String, : Int, : Int): AdvertsConnection ( :
- # Brands excluded from this promotion.
- #
- # Arguments
- # after: Returns the elements in the list that come after the
- # specified cursor.
- # before: Returns the elements in the list that come before the
- # specified cursor.
- # first: Returns the first _n_ elements from the list.
- # last: Returns the last _n_ elements from the list.
- String, : String, : Int, : Int): BrandsConnection ( :
- # Brands included in this promotion.
- #
- # Arguments
- # after: Returns the elements in the list that come after the
- # specified cursor.
- # before: Returns the elements in the list that come before the
- # specified cursor.
- # first: Returns the first _n_ elements from the list.
- # last: Returns the last _n_ elements from the list.
- String, : String, : Int, : Int): BrandsConnection ( :
- # Categories excluded from this promotion.
- #
- # Arguments
- # after: Returns the elements in the list that come after the
- # specified cursor.
- # before: Returns the elements in the list that come before the
- # specified cursor.
- # first: Returns the first _n_ elements from the list.
- # last: Returns the last _n_ elements from the list.
- (
- String, :
- String, :
- Int, :
- Int :
- ): TaxonsConnection
- # Categories included in this promotion.
- #
- # Arguments
- # after: Returns the elements in the list that come after the
- # specified cursor.
- # before: Returns the elements in the list that come before the
- # specified cursor.
- # first: Returns the first _n_ elements from the list.
- # last: Returns the last _n_ elements from the list.
- (
- String, :
- String, :
- Int, :
- Int :
- ): TaxonsConnection
- # Percentage of cost borne by the marketplace.
- Float! :
- # Description of the promotion used for internal reference.
- String :
- # Amount of the discount. Dollar or percentage value depending on 'discountType'.
- Float :
- # Type of discount. Options available: 'dollar', 'percentage'.
- String :
- # Promotion end date.
- ISO8601DateTime :
- # Is free shipping enabled for this promotion?
- Boolean! :
- # Is free shipping only for domestic orders?
- Boolean! :
- ID! :
- # Loyalty program restriction applied to this promotion.
- #
- # Arguments
- # after: Returns the elements in the list that come after the
- # specified cursor.
- # before: Returns the elements in the list that come before the
- # specified cursor.
- # first: Returns the first _n_ elements from the list.
- # last: Returns the last _n_ elements from the list.
- (
- String, :
- String, :
- Int, :
- Int :
- ): LoyaltyProgramLevelsConnection
- # Maximum amount over which this promotion will not apply.
- Float :
- # Minimum amount required to be spent for this promotion to apply.
- Float :
- # Name of the promotion - displayed at cart and checkout, order card, invoice.
- String! :
- # Whether items already on sale are excluded from this promotion.
- Boolean! :
- # The seller running the promotion.
- Seller :
- # Promotion start date.
- ISO8601DateTime :
- # Whether the promotion has been suspended.
- Boolean! :
- # Text for use as the "teaser" within a banner or similar.
- String :
- # Text for use as the "teaser" within a banner or similar.
- String @deprecated( reason: "Use teaser instead" ) :
- # URL the Promotion links through to
- String :
- # Variants excluded from this promotion.
- #
- # Arguments
- # after: Returns the elements in the list that come after the
- # specified cursor.
- # before: Returns the elements in the list that come before the
- # specified cursor.
- # first: Returns the first _n_ elements from the list.
- # last: Returns the last _n_ elements from the list.
- String, : String, : Int, : Int): VariantsConnection ( :
- # Variants included in this promotion.
- #
- # Arguments
- # after: Returns the elements in the list that come after the
- # specified cursor.
- # before: Returns the elements in the list that come before the
- # specified cursor.
- # first: Returns the first _n_ elements from the list.
- # last: Returns the last _n_ elements from the list.
- String, : String, : Int, : Int): VariantsConnection ( :
- }