PriceRuleLineItemPrerequisites object

Version unstable

Single or multiple line item products, product variants or collections required for the price rule to be applicable, can also be provided in combination.

Required access

read_price_rules access scope.

Connections

  • collections (CollectionConnection!)

    The collections required for the price rule to be applicable.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

  • productVariants (ProductVariantConnection!)

    The product variants required for the price rule to be applicable.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

  • products (ProductConnection!)

    The products required for the price rule to be applicable.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.