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
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
name | string | :heavy_check_mark: | Human-readable name for the storage resource | my-dev-database |
integrationConfigurationId | string | :heavy_check_mark: | ID of your integration configuration. Get this from GET /v1/integrations/configurations | icfg_cuwj0AdCdH3BwWT4LPijCC7t |
integrationProductIdOrSlug | any | :heavy_check_mark: | ID or slug of the integration product. Get available products from GET /v1/integrations/configuration/{id}/products | |
metadata | Record<string, models.CreateIntegrationStoreDirectMetadata> | :heavy_minus_sign: | Optional key-value pairs for resource metadata | { "environment": "development", "project": "my-app", "tags": [ "database", "postgres" ] } |
externalId | string | :heavy_minus_sign: | Optional external identifier for tracking purposes | dev-db-001 |
protocolSettings | Record<string, any> | :heavy_minus_sign: | Protocol-specific configuration settings | { "experimentation": { "edgeConfigSyncingEnabled": true } } |
source | models.CreateIntegrationStoreDirectSource | :heavy_minus_sign: | Source of the store creation request | marketplace |
billingPlanId | string | :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 |
paymentMethodId | string | :heavy_minus_sign: | Payment method ID for paid resources. Optional - uses default payment method if not provided. | pm_1AbcDefGhiJklMno |
prepaymentAmountCents | number | :heavy_minus_sign: | Amount in cents for prepayment billing plans. Required only for prepayment plans with variable amounts. | 5000 |