ShopifyCommerceProvider
Auth and connection configuration for the Shopify commerce integration. Identifies the
storefront via domain and storefrontId, carries the Storefront API credentials, and
optionally includes the Customer Account API settings required for authenticated storefronts.
The secret members (authentication.token, customers.clientSecret) are stored split-out in the
Convex shopCredentials table and only re-attached on the server-trusted sensitiveData read.
Properties
'shopify'Example
import type { ShopifyCommerceProvider } from '@nordcom/commerce-db';
function getPublicToken(cp: ShopifyCommerceProvider): string {
return cp.authentication.publicToken;
}Related
FeatureFlagService ReviewService ShopService FeatureFlagOption FeatureFlagRef ResolvedCartLineTokens ResolvedProductCardTokens ResolvedShopTheme
ShopThemeTokens
Authored, alloptional theme overrides stored on the shop record (ShopBase.theme). A DeepPartial of : a shop may set any subset of tokens at any depth, and every
StripeCommerceProvider
Auth configuration shape for the Stripe commerce integration. Currently a placeholder — the authentication object will gain Stripespecific fields as that integr