provider POST /v1/prices/{price}
@utdk/stripe /v1/prices/{price}
Update a price
<p>Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged.</p>
price path required
string

Try it

Authentication
Configure credentials for Stripe API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

postpricesprice
POST/v1/prices/{price}
<p>Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged.</p>

Parameters

required

Input

Whether the price can be used for new purchases. Defaults to `true`.

Prices defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).

Specifies which fields in the response should be expanded.

A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.

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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.

A brief description of the price, hidden from customers.

Only required if a [default tax behavior](https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.

If set to true, will atomically remove the lookup key from the existing price, and assign it to this price.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stripe from '@utdk/stripe';

await stripe.postpricesprice()