Skip to main content

Listing Object

Description

A listing represents a specific variant of an item available for purchase.

Declaration

type Listing {
_id: ID!
id: Float!
prices: Prices!
stock: Stock!
available: Date
preOrder: Boolean
secondHand: Boolean
categories: [String!]!
options: [Option!]!
onePerCustomer: Boolean
comments: String
}

Fields

NameTypeDescription
_idID!Internal database identifier.
idFloat!Numeric identifier for the listing.
pricesPrices!Pricing information for this listing.
stockStock!Stock quantity information.
availableDateDate when the item becomes available for purchase.
preOrderBooleanWhether this is a pre-order listing.
secondHandBooleanWhether this is a second-hand item.
categories[String!]!Categories this listing belongs to.
options[Option!]!Product option variants for this listing.
onePerCustomerBooleanWhether only one item per customer is allowed.
commentsStringAdditional comments or notes about the listing.