DiscountCodeNode object

Version unstable

A code discount wrapper node.

Required access

Apps must have read_discounts access scope.

Connections

  • events (EventConnection!)

    The paginated list of events associated with the host subject.

    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.

    query ( String )

    Supported filter parameters:

    • comments
    • created_at
    • subject_type
    • verb

    See the detailed search syntax for more information about using filters.

    reverse ( Boolean )

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

    sortKey ( EventSortKeys )

    Sort the underlying list by the given key.
    Default value: ID

Fields

  • codeDiscount (DiscountCode!)

    A code discount.

  • id (ID!)

    Globally unique identifier.

Types that return DiscountCodeNode

Implements

Version unstable

An auto-generated type for paginating through multiple DiscountCodeNodes.

Fields