We're constantly trying to improve your support experience, and your feedback is extremely valuable to us.

Please take a moment to tell us about your experience today.
Sign up for future Help Center user research studies.

DiscountAutomaticNode

Version 2019-04

An automatic discount wrapper node.

Show definition
"""
An automatic discount wrapper node.
"""
type DiscountAutomaticNode implements HasEvents & Node {
  """
  An automatic discount.
  """
  automaticDiscount: DiscountAutomatic!
  """
  The paginated list of events associated with the host subject.
  """
  events(
    """
    Returns the elements that come after the specified cursor.
    """
    after: String
    """
    Returns the elements that come before the specified cursor.
    """
    before: String
    """
    Returns up to the first `n` elements from the list.
    """
    first: Int
    """
    Returns up to the last `n` elements from the list.
    """
    last: Int
    """
    Supported filter parameters:
     - `comments`
     - `created_at`
     - `subject_type`
     - `verb`
    See the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax).
    """
    query: String
    """
    Reverse the order of the underlying list.
    """
    reverse: Boolean = false
    """
    Sort the underlying list by the given key.
    """
    sortKey: EventSortKeys = ID
  ): EventConnection!
  """
  Globally unique identifier.
  """
  id: ID!
}

Implements

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: true

sortKey ( EventSortKeys )

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

Fields

automaticDiscount (DiscountAutomatic!)

An automatic discount.

id (ID!)

Globally unique identifier.

Version 2019-07 (Latest)

An automatic discount wrapper node.

Show definition
"""
An automatic discount wrapper node.
"""
type DiscountAutomaticNode implements HasEvents & Node {
  """
  An automatic discount.
  """
  automaticDiscount: DiscountAutomatic!
  """
  The paginated list of events associated with the host subject.
  """
  events(
    """
    Returns the elements that come after the specified cursor.
    """
    after: String
    """
    Returns the elements that come before the specified cursor.
    """
    before: String
    """
    Returns up to the first `n` elements from the list.
    """
    first: Int
    """
    Returns up to the last `n` elements from the list.
    """
    last: Int
    """
    Supported filter parameters:
     - `comments`
     - `created_at`
     - `subject_type`
     - `verb`
    See the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax).
    """
    query: String
    """
    Reverse the order of the underlying list.
    """
    reverse: Boolean = false
    """
    Sort the underlying list by the given key.
    """
    sortKey: EventSortKeys = ID
  ): EventConnection!
  """
  Globally unique identifier.
  """
  id: ID!
}

Implements

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: true

sortKey ( EventSortKeys )

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

Fields

automaticDiscount (DiscountAutomatic!)

An automatic discount.

id (ID!)

Globally unique identifier.

Version 2019-10 (Release candidate)

An automatic discount wrapper node.

Show definition
"""
An automatic discount wrapper node.
"""
type DiscountAutomaticNode implements HasEvents & Node {
  """
  An automatic discount.
  """
  automaticDiscount: DiscountAutomatic!
  """
  The paginated list of events associated with the host subject.
  """
  events(
    """
    Returns the elements that come after the specified cursor.
    """
    after: String
    """
    Returns the elements that come before the specified cursor.
    """
    before: String
    """
    Returns up to the first `n` elements from the list.
    """
    first: Int
    """
    Returns up to the last `n` elements from the list.
    """
    last: Int
    """
    Supported filter parameters:
     - `comments`
     - `created_at`
     - `subject_type`
     - `verb`
    See the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax).
    """
    query: String
    """
    Reverse the order of the underlying list.
    """
    reverse: Boolean = false
    """
    Sort the underlying list by the given key.
    """
    sortKey: EventSortKeys = ID
  ): EventConnection!
  """
  Globally unique identifier.
  """
  id: ID!
}

Implements

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: true

sortKey ( EventSortKeys )

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

Fields

automaticDiscount (DiscountAutomatic!)

An automatic discount.

id (ID!)

Globally unique identifier.

Sign up for a Partner account to get started.

Sign up