Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Adds metadata field to the Products API for creating an inline default price


Adds metadata field to the Products API for creating an inline default price

What’s new

Adds a metadata parameter to the Create a product method.

Impact

You can add metadata fields to prices when you create products. Previously, you had to make a separate API call to update the Price object after creating the Product.

Changes

ParameterChangeResources or endpoints
metadataAddedProduct#create. default_price_data

Upgrade

  1. View your current API version in Workbench.
  2. If you use an SDK, upgrade to the corresponding SDK version for this API version.
  • If you don’t use an SDK, update your API requests to include Stripe-Version: 2025-02-24. acacia
  1. Upgrade the API version used for webhook endpoints .
  2. Test your integration against the new version.
  3. If you use Connect, test your Connect integration .
  4. In Workbench, perform the upgrade . You can roll back the version for 72 hours.

Learn more about Stripe API upgrades.

Last verified 2026-09-24

Is this helpful?