## Package catalog (`package-catalog`)

The catalog of packages, groups and add-ons a customer can buy.

Authentication: User · Docs: https://www.gocdn888.com/en/docs/api/package-catalog

### GET `/api/v2/package-catalog`

Purchasable package catalog · Authentication: User

```sh
curl "https://panel.example.com/api/v2/package-catalog" \
  -H "X-API-Key: $GOCDN_API_KEY"
```

Package catalog object:

| Field | Type | Required | Description |
|---|---|---|---|
| `feature_states` | PackageFeatureStates |  | Whether the platform currently has each package paid feature enabled (license state is neither none nor degraded); a false item does not take effect for now even if the package includes it. |
| `groups` | PackageGroup[] |  | Package groups. |
| `packages` | Package[] |  | Base packages on sale. |
| `storefront` | PackageStorefront |  | Storefront settings (system config plan.storefront, read and written via GET/PUT /configs/plan.storefront; PUT takes expected_updated_at to avoid lost updates). |
| `upgrades` | PackageUpgrade[] |  | Add-ons on sale. |
