Sample - Stripe API
GET/v1/products/{id}

Retrieve a product

Retrieves the details of an existing product by its unique identifier. Use the product ID from a product creation response or product list to retrieve its name, availability, default price, images, and other product information.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
idstringrequired
The unique identifier of the product to retrieve. Must be no longer than 5000 characters.
expandarray<string>optional
Specifies response fields to expand.

2 status codes
200Returns the requested product object, including its identifier, name, availability, default price, images, marketing features, metadata, and shipping configuration.
activebooleanrequired
Whether the product is currently available for purchase.
createdintegerrequired
Time at which the object was created. Measured in seconds since the Unix epoch.
default_pricestringoptional
The ID of the [Price](https://docs.stripe.com/api/prices) object that is the default price for this product.
descriptionstringoptional
The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
idstringrequired
Unique identifier for the object.
imagesarray<string>required
A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
livemodebooleanrequired
If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
marketing_featuresarray<ProductMarketingFeature>required
A list of up to 15 marketing features for this product. These are displayed in [pricing tables](https://docs.stripe.com/payments/checkout/pricing-table).
metadataobjectrequired
Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
namestringrequired
The product's name, meant to be displayable to the customer.
objectstringrequired
String representing the object's type. Objects of the same type share the same value.
Allowed:product
package_dimensionsobjectoptional
The dimensions of this product for shipping purposes.
shippablebooleanoptional
Whether this product is shipped (i.e., physical goods).
statement_descriptorstringoptional
Extra information about a product which will appear on your customer's credit card statement. In the case that multiple products are billed at once, the first statement descriptor will be used. Only used for subscription payments.
tax_codestringoptional
A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
unit_labelstringoptional
A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
updatedintegerrequired
Time at which the object was last updated. Measured in seconds since the Unix epoch.
urlstringoptional
A URL of a publicly-accessible webpage for this product.
defaultReturns an error object containing an error type and details about the failed request.
errorobjectrequired

Error handling

id must identify the product to retrieve and must be a string no longer than 5000 characters. Use the product identifier returned when the product was created or listed.