CreateIntegrationStoreDirectRequestBody

June 9, 2026 ยท View on GitHub

Example Usage

import { CreateIntegrationStoreDirectRequestBody } from "@vercel/sdk/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema7type.js";

let value: CreateIntegrationStoreDirectRequestBody = {
  name: "my-dev-database",
  integrationConfigurationId: "icfg_cuwj0AdCdH3BwWT4LPijCC7t",
  integrationProductIdOrSlug: "iap_postgres_db",
  metadata: {
    "environment": "development",
    "project": "my-app",
    "tags": [
      "database",
      "postgres",
    ],
  },
  externalId: "dev-db-001",
  protocolSettings: {
    "experimentation": {
      "edgeConfigSyncingEnabled": true,
    },
  },
  billingPlanId: "bp_abc123def456",
  paymentMethodId: "pm_1AbcDefGhiJklMno",
  prepaymentAmountCents: 5000,
};

Fields

FieldTypeRequiredDescriptionExample
namestring:heavy_check_mark:Human-readable name for the storage resourcemy-dev-database
integrationConfigurationIdstring:heavy_check_mark:ID of your integration configuration. Get this from GET /v1/integrations/configurationsicfg_cuwj0AdCdH3BwWT4LPijCC7t
integrationProductIdOrSlugany:heavy_check_mark:ID or slug of the integration product. Get available products from GET /v1/integrations/configuration/{id}/products
metadataRecord<string, models.CreateIntegrationStoreDirectMetadata>:heavy_minus_sign:Optional key-value pairs for resource metadata{
"environment": "development",
"project": "my-app",
"tags": [
"database",
"postgres"
]
}
externalIdstring:heavy_minus_sign:Optional external identifier for tracking purposesdev-db-001
protocolSettingsRecord<string, any>:heavy_minus_sign:Protocol-specific configuration settings{
"experimentation": {
"edgeConfigSyncingEnabled": true
}
}
sourcemodels.CreateIntegrationStoreDirectSource:heavy_minus_sign:Source of the store creation requestmarketplace
billingPlanIdstring:heavy_minus_sign:ID of the billing plan for paid resources. Get available plans from GET /integrations/integration/{id}/products/{productId}/plans. If not provided, automatically discovers free billing plans.bp_abc123def456
paymentMethodIdstring:heavy_minus_sign:Payment method ID for paid resources. Optional - uses default payment method if not provided.pm_1AbcDefGhiJklMno
prepaymentAmountCentsnumber:heavy_minus_sign:Amount in cents for prepayment billing plans. Required only for prepayment plans with variable amounts.5000