Admin Billing

Update a product

patch/v1/admin/products/{id}

Path parameters

idstring required

ID of the product to update

Request body

namestring

Product name

descriptionstring

Product description

category'homeowner_plan' | 'pro_plan' | 'generation_credits_pack' | 'marketplace_template'

Product category

stripePriceIdstring

Stripe price ID

priceinteger

Product price in cents

currencystring

Currency code

billingType'one_time' | 'recurring'

Billing type

billingInterval'day' | 'week' | 'month' | 'year' nullable

Billing interval

billingIntervalCountinteger nullable

Number of intervals between billings

activeboolean

Active status of product

Response

Product updated successfully

successboolean required

Indicates if the request was successful

messagestring required

Human readable message

timestampstring date-time required

Timestamp of the response

Changes

No recorded changes to this endpoint across all 2 revisions of this API.