getStatus() → StatusResponse
Retrieves the current status of the product.
'active' | 'upcoming' | 'sold-out' | 'ended'
active: The product is currently active and available for purchase.
upcoming: The product sale has not started yet.
sold-out: The product is sold out.
ended: The product sale has ended.
const status = await product.getStatus(); console.log(`Current product status ${status}`)
Last updated 3 months ago