cURL
curl --request GET \
--url https://us.api.flexprice.io/v1/integrations/config \
--header 'x-api-key: <api-key>'from flexprice import Flexprice
with Flexprice(
api_key_auth="<YOUR_API_KEY_HERE>",
) as f_client:
res = f_client.integrations.get_integration_config()
# Handle response
print(res)import { Flexprice } from "@flexprice/sdk";
const flexprice = new Flexprice({
apiKeyAuth: "<YOUR_API_KEY_HERE>",
});
async function run() {
const result = await flexprice.integrations.getIntegrationConfig();
console.log(result);
}
run();package main
import(
"context"
flexprice "github.com/flexprice/go-sdk/v2"
"log"
)
func main() {
ctx := context.Background()
s := flexprice.New(
flexprice.WithSecurity("<YOUR_API_KEY_HERE>"),
)
res, err := s.Integrations.GetIntegrationConfig(ctx)
if err != nil {
log.Fatal(err)
}
if res.IntegrationConfigResponse != nil {
// handle response
}
}{
"integrations": [
{
"base_config": {
"aws_marketplace": {
"region": "<string>"
},
"customer": {
"inbound": true,
"outbound": true
},
"deal": {
"inbound": true,
"outbound": true
},
"invoice": {
"inbound": true,
"outbound": true
},
"invoice_sync_settings": {
"deposit_to_account_id": "<string>",
"global_custom_fields": [
{
"field": "<string>",
"value": "<string>"
}
],
"metadata_custom_fields": [
{
"field": "<string>",
"metadata_key": "<string>",
"source": "customer"
}
],
"normalize_fixed_to": "MONTHLY",
"payment_mode": "<string>",
"service_period_custom_fields": {
"end_field_id": "<string>",
"start_field_id": "<string>"
},
"submit_for_approval": true
},
"payment": {
"inbound": true,
"outbound": true
},
"plan": {
"inbound": true,
"outbound": true
},
"price": {
"inbound": true,
"outbound": true
},
"quote": {
"inbound": true,
"outbound": true
},
"s3": {
"bucket": "<string>",
"compression": "none",
"encryption": "AES256",
"is_flexprice_managed": true,
"key_prefix": "<string>",
"region": "<string>"
},
"subscription": {
"inbound": true,
"outbound": true
}
},
"current_config": {
"aws_marketplace": {
"region": "<string>"
},
"customer": {
"inbound": true,
"outbound": true
},
"deal": {
"inbound": true,
"outbound": true
},
"invoice": {
"inbound": true,
"outbound": true
},
"invoice_sync_settings": {
"deposit_to_account_id": "<string>",
"global_custom_fields": [
{
"field": "<string>",
"value": "<string>"
}
],
"metadata_custom_fields": [
{
"field": "<string>",
"metadata_key": "<string>",
"source": "customer"
}
],
"normalize_fixed_to": "MONTHLY",
"payment_mode": "<string>",
"service_period_custom_fields": {
"end_field_id": "<string>",
"start_field_id": "<string>"
},
"submit_for_approval": true
},
"payment": {
"inbound": true,
"outbound": true
},
"plan": {
"inbound": true,
"outbound": true
},
"price": {
"inbound": true,
"outbound": true
},
"quote": {
"inbound": true,
"outbound": true
},
"s3": {
"bucket": "<string>",
"compression": "none",
"encryption": "AES256",
"is_flexprice_managed": true,
"key_prefix": "<string>",
"region": "<string>"
},
"subscription": {
"inbound": true,
"outbound": true
}
},
"provider": "flexprice"
}
]
}{
"code": "http_client_error",
"http_status_code": 123,
"message": "<string>"
}Integrations
Get integration configurations
Returns the base capabilities and current sync configuration for all connected providers.
GET
/
integrations
/
config
cURL
curl --request GET \
--url https://us.api.flexprice.io/v1/integrations/config \
--header 'x-api-key: <api-key>'from flexprice import Flexprice
with Flexprice(
api_key_auth="<YOUR_API_KEY_HERE>",
) as f_client:
res = f_client.integrations.get_integration_config()
# Handle response
print(res)import { Flexprice } from "@flexprice/sdk";
const flexprice = new Flexprice({
apiKeyAuth: "<YOUR_API_KEY_HERE>",
});
async function run() {
const result = await flexprice.integrations.getIntegrationConfig();
console.log(result);
}
run();package main
import(
"context"
flexprice "github.com/flexprice/go-sdk/v2"
"log"
)
func main() {
ctx := context.Background()
s := flexprice.New(
flexprice.WithSecurity("<YOUR_API_KEY_HERE>"),
)
res, err := s.Integrations.GetIntegrationConfig(ctx)
if err != nil {
log.Fatal(err)
}
if res.IntegrationConfigResponse != nil {
// handle response
}
}{
"integrations": [
{
"base_config": {
"aws_marketplace": {
"region": "<string>"
},
"customer": {
"inbound": true,
"outbound": true
},
"deal": {
"inbound": true,
"outbound": true
},
"invoice": {
"inbound": true,
"outbound": true
},
"invoice_sync_settings": {
"deposit_to_account_id": "<string>",
"global_custom_fields": [
{
"field": "<string>",
"value": "<string>"
}
],
"metadata_custom_fields": [
{
"field": "<string>",
"metadata_key": "<string>",
"source": "customer"
}
],
"normalize_fixed_to": "MONTHLY",
"payment_mode": "<string>",
"service_period_custom_fields": {
"end_field_id": "<string>",
"start_field_id": "<string>"
},
"submit_for_approval": true
},
"payment": {
"inbound": true,
"outbound": true
},
"plan": {
"inbound": true,
"outbound": true
},
"price": {
"inbound": true,
"outbound": true
},
"quote": {
"inbound": true,
"outbound": true
},
"s3": {
"bucket": "<string>",
"compression": "none",
"encryption": "AES256",
"is_flexprice_managed": true,
"key_prefix": "<string>",
"region": "<string>"
},
"subscription": {
"inbound": true,
"outbound": true
}
},
"current_config": {
"aws_marketplace": {
"region": "<string>"
},
"customer": {
"inbound": true,
"outbound": true
},
"deal": {
"inbound": true,
"outbound": true
},
"invoice": {
"inbound": true,
"outbound": true
},
"invoice_sync_settings": {
"deposit_to_account_id": "<string>",
"global_custom_fields": [
{
"field": "<string>",
"value": "<string>"
}
],
"metadata_custom_fields": [
{
"field": "<string>",
"metadata_key": "<string>",
"source": "customer"
}
],
"normalize_fixed_to": "MONTHLY",
"payment_mode": "<string>",
"service_period_custom_fields": {
"end_field_id": "<string>",
"start_field_id": "<string>"
},
"submit_for_approval": true
},
"payment": {
"inbound": true,
"outbound": true
},
"plan": {
"inbound": true,
"outbound": true
},
"price": {
"inbound": true,
"outbound": true
},
"quote": {
"inbound": true,
"outbound": true
},
"s3": {
"bucket": "<string>",
"compression": "none",
"encryption": "AES256",
"is_flexprice_managed": true,
"key_prefix": "<string>",
"region": "<string>"
},
"subscription": {
"inbound": true,
"outbound": true
}
},
"provider": "flexprice"
}
]
}{
"code": "http_client_error",
"http_status_code": 123,
"message": "<string>"
}
