Configurations API
configuration
resource
The configuration
resource provides information on the version of the Product Catalog for a specific Chargebee site.
Unavailble in SDKs
This resource and endpoint is not available in the client libraries.
Attributes
Name | Description |
---|---|
| String The subdomain of the Chargebee site for which the information has been requested, this value is identical to the |
| ENUM The Product Catalog version of the site. Possible values are:
|
ON THIS PAGE
- 1 configuration resource
- 1.1 Attributes
- 2 Endpoint
- 2.1 List site configurations
- 2.1.1 Path parameter
- 2.1.2 Response
- 2.1.3 Code samples
- 2.1 List site configurations
Endpoint
List site configurations
GET https://{site}.chargebee.com/api/v2/configurations
This API returns the configurations
resource for the Chargebee site specified.
Path parameter
Name | Description |
---|---|
| String The subdomain of the Chargebee site for which the information is requested. For example, if your Chargebee site is |
Response
A JSON array containing a single object with the configuration
resource for the specified Chargebee site.
Code samples
Request
curl https://{site}.chargebee.com/api/v2/configurations
-u {site_api_key}:
Response
{
"configurations": [{
"domain": "mannar-test",
"product_catalog_version": "v2",
"object":"configuration"
}]
}
Â