PricesUnarchive PriceRestores an archived Price. Idempotent.POST/v1/prices/{id}/unarchiveSendHeadersPathAuthorizationAuthorizationRequiredBearer <token>API key as Bearer tokenIn: headerPath ParametersidRequiredstringPrice id, discoverable via list_pricesPOST/v1/prices/{id}/unarchivecURLGoNode.jsPythonPHPRubyJavaC#curl -X POST "https://api.3common.com/v1/prices/string/unarchive" \ -H "Authorization: Bearer <token>"Default Response200401403404Response{ "data": { "id": "string", "hostId": "string", "productId": "string", "type": "recurring", "currency": "USD", "unitAmount": 9007199254740991, "recurring": { "interval": "day", "intervalCount": 1 }, "features": [ { "featureKey": "string", "type": "boolean", "enabled": true } ], "nickname": "string", "active": true, "metadata": { "property1": "string", "property2": "string" }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } }TypeScriptexport interface Response { data: { id?: string; hostId?: string; /** * The Product this Price applies to */ productId?: string; /** * Price cadence. * - recurring: billed on a fixed cadence (subscription-backed) * - one_time: single charge, typically used for add-on / top-up packs */ type?: "recurring" | "one_time"; currency?: "USD" | "CAD"; /** * Per-unit cost in minor units (cents for USD) */ unitAmount?: number; recurring?: { /** * Cadence unit */ interval: "day" | "week" | "month" | "year"; /** * Positive integer multiplier on interval (e.g. 3 with month = "every three months") */ intervalCount: number; }; features?: ( | { featureKey: string; type: "boolean"; enabled: boolean; } | { featureKey: string; type: "quantity"; /** * null = unlimited */ quantity: number | null; rolloverEnabled: boolean; rolloverCap?: number; expireOnCancel?: boolean; } | { featureKey: string; type: "enum"; enumValue: string; } | { featureKey: string; type: "duration"; /** * null = unlimited / "all time" */ durationDays: number | null; } )[]; /** * Admin-facing display label */ nickname?: string; /** * Soft-archive flag. Inactive prices cannot back new subscriptions */ active?: boolean; /** * Free-form key/value tags for integrations */ metadata?: { [k: string]: string; }; createdAt?: string; updatedAt?: string; }; } Archive PriceSoft-archives a Price. Idempotent. Existing subscriptions are unaffected; new subscriptions cannot select this Price until unarchived.List SubscriptionsLists the host's subscriptions. Filterable by status, contact, or Price. Sorted by creation date desc. Paginated.