DiscountCollections object

Version unstable

A list of collections that the discount can have as a prerequisite or entitlement.

Required access

Apps must have read_discounts access scope.

On this page

Connections

  • collections (CollectionConnection!)

    A list of collections that the discount can have as a prerequisite or entitlement.

    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

Version 2021-10 (Release candidate)

A list of collections that the discount can have as a prerequisite or entitlement.

Required access

Apps must have read_discounts access scope.

On this page

Connections

  • collections (CollectionConnection!)

    A list of collections that the discount can have as a prerequisite or entitlement.

    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

Version 2021-07 (Latest)

A list of collections that the discount can have as a prerequisite or entitlement.

Required access

Apps must have read_discounts access scope.

On this page

Connections