Skip to main content

ListingCopy Object

Description

Copy of listing information used in orders to preserve the state at the time of purchase.

Declaration

type ListingCopy {
_id: ID!
id: Float!
status: String!
prices: ListingPrice!
comments: String
privateComments: String
location: String
discogsId: Float
taxDefinition: String
preventDiscogsListing: Boolean
readOnly: Boolean
onePerCustomer: Boolean
stock: ListingStock!
options: [ListingOption!]!
supplierCode: String
sku: String
barcode: String
posted: Date
available: Date
preOrder: Boolean
categories: [String!]!
logs: [LogEntry]
archived: Boolean
secondHand: Boolean
}

Fields

NameTypeDescription
_idID!Internal database identifier.
idFloat!Numeric identifier for the listing.
statusString!Status of the listing at the time of order.
pricesListingPrice!Pricing information at the time of order.
commentsStringPublic comments at the time of order.
privateCommentsStringPrivate comments at the time of order.
locationStringStorage location at the time of order.
discogsIdFloatExternal identifier from the marketplace system at the time of order.
taxDefinitionStringTax definition identifier at the time of order.
preventDiscogsListingBooleanWhether marketplace system listing was prevented at the time of order.
readOnlyBooleanWhether the listing was read-only at the time of order.
onePerCustomerBooleanWhether one per customer was enforced at the time of order.
stockListingStock!Stock quantity at the time of order.
options[ListingOption!]!Product options at the time of order.
supplierCodeStringSupplier code at the time of order.
skuStringSKU at the time of order.
barcodeStringBarcode at the time of order.
postedDatePosted date at the time of order.
availableDateAvailable date at the time of order.
preOrderBooleanWhether it was a pre-order at the time of order.
categories[String!]!Categories at the time of order.
logs[LogEntry]Log entries at the time of order.
archivedBooleanWhether it was archived at the time of order.
secondHandBooleanWhether it was second-hand at the time of order.