Skip to main content
Use stripe.archiveProduct to deactivate a Stripe product without deleting its history.

Example

automations/stripe-archive-product.automation.ts

Inputs

productId is required. This action sets active to false; existing transactions keep their product history. idempotencyKey is optional. Inputs use camel case and accept compatible signals. Automate.ax converts provider fields to Stripe’s wire format. Metadata keys remain unchanged.

Output

Returns the inactive Stripe Product. Output fields use camel case. Expanded Price decimal fields such as unitAmountDecimal are lossless strings.