ConstReadonlyIN_STOCK: "in_stock"In stock and ready to ship
ReadonlyLIMITED_STOCK: "limited_stock"Available but in limited quantity (schema.org LimitedAvailability)
ReadonlyOUT_OF_STOCK: "out_of_stock"Currently out of stock
ReadonlyPRE_ORDER: "preorder"Not yet released; orderable ahead of availability
ReadonlyPRE_SALE: "pre_sale"Offered for sale ahead of general availability (schema.org PreSale)
ReadonlyBACKORDER: "backorder"Out of stock but orderable, shipping when restocked
ReadonlyMADE_TO_ORDER: "made_to_order"Produced only once ordered (schema.org MadeToOrder)
ReadonlySOLD_OUT: "sold_out"Sold out (schema.org SoldOut)
ReadonlyRESERVED: "reserved"Held/reserved and not currently purchasable (schema.org Reserved)
ReadonlyONLINE_ONLY: "online_only"Purchasable online only (schema.org OnlineOnly)
ReadonlyIN_STORE_ONLY: "in_store_only"Purchasable in physical stores only (schema.org InStoreOnly)
ReadonlyDISCONTINUED: "discontinued"No longer sold
ReadonlyUNAVAILABLE: "unavailable"Cannot be purchased (e.g. restricted or delisted)
ReadonlyUNKNOWN: "unknown"Availability could not be determined
export const AVAILABILITY = {
/** In stock and ready to ship */
IN_STOCK: 'in_stock',
/** Available but in limited quantity (schema.org LimitedAvailability) */
LIMITED_STOCK: 'limited_stock',
/** Currently out of stock */
OUT_OF_STOCK: 'out_of_stock',
/** Not yet released; orderable ahead of availability */
PRE_ORDER: 'preorder',
/** Offered for sale ahead of general availability (schema.org PreSale) */
PRE_SALE: 'pre_sale',
/** Out of stock but orderable, shipping when restocked */
BACKORDER: 'backorder',
/** Produced only once ordered (schema.org MadeToOrder) */
MADE_TO_ORDER: 'made_to_order',
/** Sold out (schema.org SoldOut) */
SOLD_OUT: 'sold_out',
/** Held/reserved and not currently purchasable (schema.org Reserved) */
RESERVED: 'reserved',
/** Purchasable online only (schema.org OnlineOnly) */
ONLINE_ONLY: 'online_only',
/** Purchasable in physical stores only (schema.org InStoreOnly) */
IN_STORE_ONLY: 'in_store_only',
/** No longer sold */
DISCONTINUED: 'discontinued',
/** Cannot be purchased (e.g. restricted or delisted) */
UNAVAILABLE: 'unavailable',
/** Availability could not be determined */
UNKNOWN: 'unknown',
} as const;
Represents the availability of a product Keep values as lower case strings.