Skip to main content

ItemInterface Interface

Description

Base interface for all item types with common fields.

Declaration

interface ItemInterface {
_id: ID!
id: Float!
type: ItemType!
incId: Float
uniqueId: String
oldId: Float
created: Date
modified: Date
seo: SeoEntry
isForbiddenForSale: Boolean
logs: [LogEntry]
handle: String
path: String!
uri: String
wants: Int
bitly: String
descriptions: ItemDescriptions!
listings: [Listing!]!
}

Fields

NameTypeDescription
_idID!Internal database identifier.
idFloat!Numeric identifier for the item.
typeItemType!Type classification of the item.
incIdFloatIncremental identifier assigned to the item.
uniqueIdStringUnique identifier string for the item.
oldIdFloatLegacy numeric identifier from previous system.
createdDateDate when the item was created.
modifiedDateDate when the item was last modified.
seoSeoEntrySEO metadata for the item.
isForbiddenForSaleBooleanWhether the item is forbidden from being sold.
logs ⚠️[LogEntry]Historical log entries for the item. ⚠️ Deprecated: No longer supported
handle ⚠️StringURL-friendly handle for the item. ⚠️ Deprecated: No longer supported
pathString!URL path to the item page.
uriStringURI identifier for the item.
wantsIntNumber of users who have added this item to their wantlist.
bitlyStringShortened URL via Bitly service.
descriptionsItemDescriptions!Item descriptions in multiple formats.
listings[Listing!]!Available listings for this item.

Implemented By

ReleaseItem