The Product Object
Products describe digital goods you offer to your customers.
Attributes
store_id
The ID of the store this product belongs to.
name
The name of the product.
slug
The slug used to identify the product.
description
The description of the product in HTML.
status
The status of the product. Either draft
or published
.
status_formatted
The formatted status of the product.
thumb_url
A URL to the thumbnail image for this product (if one exists). The image will be 100x100px in size.
large_thumb_url
A URL to the large thumbnail image for this product (if one exists). The image will be 1000x1000px in size.
price
A positive integer in cents representing the price of the product.
price_formatted
A human-readable string representing the price of the product (e.g. $9.99
).
from_price
If this product has multiple variants, this will be a positive integer in cents representing the price of the cheapest variant. Otherwise, it will be null
.
from_price_formatted
If this product has multiple variants, this will be a human-readable string representing the price of the cheapest variant. Otherwise, it will be null
.
to_price
If this product has multiple variants, this will be a positive integer in cents representing the price of the most expensive variant. Otherwise, it will be null
.
to_price_formatted
If this product has multiple variants, this will be a human-readable string representing the price of the most expensive variant. Otherwise, it will be null
.
pay_what_you_want
Has the value true
if this is a “pay what you want” product where the price can be set by the customer at checkout.
buy_now_url
A URL to purchase this product using the Lemon Squeezy checkout.
created_at
An ISO 8601 formatted date-time string indicating when the object was created.
updated_at
An ISO 8601 formatted date-time string indicating when the object was last updated.
test_mode
A boolean indicating if the object was created within test mode.