Skip to main content
PUT
Update Stripe product

Authorizations

api_key
string
header
required

Personal API key.

Path Parameters

product_id
string
required

Stripe product ID in the configured account.

app_id
string
required

ID of the Base44 app.

Body

application/json

Request to update a Stripe product.

name
string | null

New product name. Omitted or null values leave it unchanged. Defaults to null.

Example:

"Studio membership"

description
string | null

New product description. Omitted or null values leave it unchanged. Defaults to null.

Example:

"Access to weekly classes."

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:
active
boolean | null

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

Example:

false

Response

The operation result.

A product in the Stripe account configured for the app.

id
string
required

Stripe product ID.

Example:

"prod_T7mK2p9Q4r6S8v"

name
string
required

Product name.

Example:

"Studio membership"

description
string | null
required

Product description, or null when none is set.

Example:

"Access to weekly classes."

active
boolean
required

Whether the product is active.

Example:

true

images
string[]
required

Product image URLs.

Example:
metadata
Metadata · object
required

Metadata stored on the product.

Example: