Products
The product object
A product is something you sell, a good or a service. Prices belong to a product and set how much it costs and how often it is billed; you sell a product on invoices, quotes, subscriptions and Checkout Sessions through its prices.
Attributes
idstringRequiredUnique identifier for the object.
objectstringRequiredString naming the object's type.
livemodebooleanRequiredtruewhen the object exists in live mode,falsein test mode.createdtimestampRequiredTime the object was created, in Unix seconds.
updatedtimestampRequiredTime the object last changed, in Unix seconds.
namestringRequiredName of the product.
activebooleanRequiredWhether the product can be used. An inactive product can't be added to invoices.
descriptionstringRequiredLonger description of the product. Empty when none was given.
imagestringRequiredURL of an image of the product. Empty when none was given.
metadataobjectRequiredKey-value pairs for your own use. Product metadata is not currently stored, so this is an empty object.