DiscountCodeNode object

Version 2020-01 (Release candidate)

A code discount wrapper node.

Connections

events (EventConnection!)

The paginated list of events associated with the host subject.

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.

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 2019-10 (Latest)

A code discount wrapper node.

Connections

events (EventConnection!)

The paginated list of events associated with the host subject.

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.

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 2019-07

A code discount wrapper node.

Connections

events (EventConnection!)

The paginated list of events associated with the host subject.

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.

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

Sign up for a Partner account to get started.

Sign up