INPUT_OBJECT

LeadOrderByNestedInput

Sorting by a field of the related Lead record. Set exactly one field in each item.

link GraphQL Schema definition

  • input LeadOrderByNestedInput {
  • # Unique identifier of entity.
  • id: OrderByEnum
  • # Specifies if the entity is considered deleted.
  • isDeleted: OrderByEnum
  • # Last modification time.
  • modified: OrderByEnum
  • # Creation time.
  • created: OrderByEnum
  • # Id of the currency exchange rate list applied to this lead.
  • currencyExchangeRatesListId: OrderByEnum
  • # Free-form description of the lead.
  • description: OrderByEnum
  • # True when the lead has been archived (lost). Archived leads remain readable but
  • # are hidden from active lists and cannot be edited until reactivated.
  • isArchived: OrderByEnum
  • # User-set colored flag used to highlight the lead in lists and reports.
  • labelFlag: OrderByEnum
  • # Id of the lead source recording how the lead originated (e.g. Website, Referral,
  • # Trade Show).
  • leadSourceId: OrderByEnum
  • # Id of the lead type that classifies the lead and drives which form, fields and
  • # lead process apply.
  • leadTypeId: OrderByEnum
  • # Name of the entity and its default text representation.
  • name: OrderByEnum
  • # Id of the lead owner.
  • ownerId: OrderByEnum
  • # Free-text company email captured at lead creation when no Account record has
  • # been linked yet.
  • quickAccountEmail: OrderByEnum
  • # Free-text company name captured at lead creation when no Account record has been
  • # linked yet.
  • quickAccountName: OrderByEnum
  • # Free-text company phone captured at lead creation when no Account record has
  • # been linked yet.
  • quickAccountPhone: OrderByEnum
  • # Free-text contact name captured at lead creation when no Contact record has been
  • # linked yet.
  • quickContactName: OrderByEnum
  • # Free-text contact email captured at lead creation when no Contact record has
  • # been linked yet.
  • quickEmail: OrderByEnum
  • # Free-text contact phone captured at lead creation when no Contact record has
  • # been linked yet.
  • quickPhone: OrderByEnum
  • # Qualitative ranking score (1-10) the user assigns to indicate the strength of
  • # the lead.
  • ranking: OrderByEnum
  • # Free-form note explaining why the lead was archived (lost). Captured alongside
  • # reasonOfClose.
  • reasonOfCloseDescription: OrderByEnum
  • # Id of the reason recorded when the lead is archived (lost), or empty when none
  • # was given.
  • reasonOfCloseId: OrderByEnum
  • # Sharing model applied on top of the owner/unit visibility (e.g. shared with
  • # selected sales units or selected users). The matching sharingUnits /
  • # sharingClients lists control who is granted access.
  • shareMode: OrderByEnum
  • # Id of the lead process step.
  • stepId: OrderByEnum
  • # Id of the sales unit.
  • unitId: OrderByEnum
  • # Revision when entity was lastly changed.
  • revision: OrderByEnum
  • # Current status of the lead (Open, Lost, Qualified). Read-only; derived from the
  • # archived flag and lifecycle events.
  • status: OrderByEnum
  • # Number of email sequences this record is currently actively enrolled in
  • # (soft-deleted or ended enrollments are not counted).
  • enrolledEmailSequences: OrderByEnum
  • # Sorts records by whether they are related to the listed records.
  • relatedEntities: CommonEntityRepositoryOrderByEntityRelationField
  • # Sorts by a custom field.
  • withCustom: CommonEntityRepositoryOrderByCustomField
  • }

link Require by