Admin API / Types
ProductLifecycle
EnumThe stage of a listing's sale. Each listing has one value. A cancelled auction or giveaway does not count. Additional values may be added; clients must handle values they do not recognize.
enum ProductLifecycleValues
ACTIVE: In stock, and the sale is open or has not started: a buy-now listing, an auction that has not ended, or a giveaway that has not completed.DELETED: The listing is deleted, whatever its stock and sale state. Only a list withincludeDeleted: truereturns a deleted listing:product,productBySlugandnodegive null.variantslists the variants that were not deleted, andproductVariantandnodegive null for them.activeAuctionis null, andviewer.canEditandviewer.canDeleteare false. The storefront no longer shows the listing aturl.ENDED: In stock, but the sale is over: the auction ended or its end time passed, or all giveaways of the listing completed.SOLD_OUT: No active variant has remaining or unlimited stock, whatever the auction or giveaway state. The same listings asavailability: OUT_OF_STOCK.