v12

latestOpenAPI 3.0.1AGPL-3.0raw.githubusercontent.com2026-07-0971442569.2 KB
Plans

Clone a plan

Clone an existing plan, copying its active prices, published entitlements, and published credit grants

post/plans/{id}/clone

Path parameters

idstring required

Source Plan ID

Request body

descriptionstring

Description overrides the source plan's description when provided

display_orderinteger

DisplayOrder overrides the source plan's display order when provided

lookup_keystring

LookupKey is required and must be unique across published plans

metadataTypesMetadata
namestring

Name is required and must be different from the source plan's name

Response

Created

created_atstring date-time
created_bystring
descriptionstring
display_orderinteger
environment_idstring
idstring
lookup_keystring
metadataTypesMetadata
namestring
status'published' | 'deleted' | 'archived'
tenant_idstring
updated_atstring date-time
updated_bystring