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
| Name | Type | Description |
|---|---|---|
_id | ID! | Internal database identifier. |
id | Float! | Numeric identifier for the listing. |
prices | Prices! | Pricing information for this listing. |
stock | Stock! | Stock quantity information. |
available | Date | Date when the item becomes available for purchase. |
preOrder | Boolean | Whether this is a pre-order listing. |
secondHand | Boolean | Whether this is a second-hand item. |
categories | [String!]! | Categories this listing belongs to. |
options | [Option!]! | Product option variants for this listing. |
onePerCustomer | Boolean | Whether only one item per customer is allowed. |
comments | String | Additional comments or notes about the listing. |