API Version
Product Catalog
Library

This resource returns your domain and product catalog version details - Product Catalog 1.0 (v1) and Product Catalog 2.0 (v2).

Sample configuration [ JSON ]

{ "configurations": [ { "domain": "yourapp", "object": "configuration", "product_catalog_version": "v1" } ] }

API Index URL

https://{site}.chargebee.com/api/v2/configurations

Model Class

domain
optional, string, max chars=50

The Chargebee site for which the information has been requested. It is the same as the value of {site} provided as a path parameter.


product_catalog_version
optional, enumerated string

The Product Catalog version of the site


Possible values are
v1

Indicates Product Catalog 1.0

v2

Indicates Product Catalog 2.0

Show all values[+]
chargebee_response_schema_type
optional, enumerated string

Specifies the API response format based on the product catalog version of the site.


Possible values are
plans_addons

The response format follows product catalog 1.0 , using plans and addons .

items

The response format follows product catalog 2.0 , using items .

compat

The response supports both Product Catalog 1.0 and 2.0 formats. It is applicable only to sites that have been automatically upgraded to Product Catalog 2.0.

Show all values[+]
domain domain
optional, string, max chars=50

The Chargebee site for which the information has been requested. It is the same as the value of {site} provided as a path parameter.


product_catalog_version product_catalog_version
optional, enumerated string

The Product Catalog version of the site


Possible values are
v1

Indicates Product Catalog 1.0

v2

Indicates Product Catalog 2.0

Show all values[+]
chargebee_response_schema_type chargebee_response_schema_type
optional, enumerated string

Specifies the API response format based on the product catalog version of the site.


Possible values are
plans_addons

The response format follows product catalog 1.0 , using plans and addons .

items

The response format follows product catalog 2.0 , using items .

compat

The response supports both Product Catalog 1.0 and 2.0 formats. It is applicable only to sites that have been automatically upgraded to Product Catalog 2.0.

Show all values[+]
Try in API Explorer

Returns a list of your domain and product catalog version details.

Sample Request
Try in API Explorer
curl  https://{site}.chargebee.com/api/v2/configurations \
     -u {site_api_key}:
copy
Click to Copy
200:
OK
STATUS

Sample Response [ JSON ]

Show more...
{
    "configurations": [
        {
            "domain": "yourapp",
            "object": "configuration",
            "product_catalog_version": "v1"
        },
        {..}
    ]
}

URL Format GET

https://{site}.chargebee.com/api/v2/configurations

Method

configurations configurations
always returned
Resource object representing configurations

Sample admin console URL

https://{site}.chargebee.com/admin-console/configurations/123x