Skip to main content

stores

Creates, updates, deletes, gets or lists a stores resource.

Overview

Namestores
TypeResource
Idvercel.integrations.stores

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
create_directinsertname, integration_configuration_id, integration_product_id_or_slugteam_id, slugCreates an integration store with automatic billing plan handling. For free resources, omit billingPlanId to auto-discover free plans. For paid resources, provide a billingPlanId from the billing plans endpoint.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
slugstringThe Team slug to perform the request on behalf of.
team_idstringThe Team identifier to perform the request on behalf of. (wire: teamId)

INSERT examples

Creates an integration store with automatic billing plan handling. For free resources, omit billingPlanId to auto-discover free plans. For paid resources, provide a billingPlanId from the billing plans endpoint.

INSERT INTO vercel.integrations.stores (
name,
integration_configuration_id,
integration_product_id_or_slug,
metadata,
external_id,
protocol_settings,
source,
billing_plan_id,
payment_method_id,
prepayment_amount_cents,
team_id,
slug
)
SELECT
'{{ name }}' /* required */,
'{{ integration_configuration_id }}' /* required */,
'{{ integration_product_id_or_slug }}' /* required */,
'{{ metadata }}',
'{{ external_id }}',
'{{ protocol_settings }}',
'{{ source }}',
'{{ billing_plan_id }}',
'{{ payment_method_id }}',
{{ prepayment_amount_cents }},
'{{ team_id }}',
'{{ slug }}'
RETURNING
store
;