Skip to main content
PUT
Update Stripe price

Authorizations

api_key
string
header
required

Personal API key.

Path Parameters

price_id
string
required

Stripe price ID in the configured account.

app_id
string
required

ID of the Base44 app.

Body

application/json

Request to update a Stripe price.

active
boolean | null

Whether the price is active. Omitted or null values leave it unchanged. Defaults to null.

Example:

false

metadata
Metadata · object | null

Metadata to store. Use string values accepted by Stripe. Defaults to null. Omitted or null metadata leaves an existing value unchanged on update.

Example:
nickname
string | null

New internal price label. Omitted or null values leave it unchanged. Defaults to null.

Example:

"Monthly membership"

Response

The operation result.

A price in the Stripe account configured for the app.

id
string
required

Stripe price ID.

Example:

"price_1T7mK2Q4r6S8v9Ab"

product
string
required

Stripe product ID this price belongs to.

Example:

"prod_T7mK2p9Q4r6S8v"

unit_amount
integer | null
required

Amount in the currency's smallest unit, or null for pricing without a fixed integer unit amount.

Example:

2500

currency
string
required

Currency as a lowercase three-letter ISO 4217 code.

Example:

"usd"

active
boolean
required

Whether the price is active.

Example:

true

metadata
Metadata · object
required

Metadata stored on the price.

Example:
recurring
StripeCatalogRecurring · object | null
required

Billing schedule, or null for a one-time price.

Example: