Skip to main content
POST
Unarchive plan

Authorizations

X-API-KEY
string
header
required

API Key Authentication.

Path Parameters

id
string<uuid>
required

The unique identifier of the plan in our system.

Response

A plan, a reusable set of charges of the catalog, with its product and its active plan version. A contract bills a plan through a plan instance.

id
string<uuid>
required

The unique identifier of the plan in our system.

name
string
required

The name of the plan.

Minimum string length: 1
Example:

"Plano Essencial"

description
string | null
required

The description of the plan, or null when it has none.

Example:

"Assinatura mensal com entrega diária de pães."

product
object
required

The product that the plan belongs to.

archivedAt
string<date-time> | null
required

When the plan was archived, or null when it is not archived. An archived plan cannot go on a contract.

activePlanVersion
object
required

The active plan version of the plan, whose plan charges a new plan instance of the plan bills.