forked from vercel/commerce
-
Notifications
You must be signed in to change notification settings - Fork 82
/
.env.example
34 lines (29 loc) · 1.74 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# ++++ Use the following exact values ++++
BIGCOMMERCE_CANONICAL_STORE_DOMAIN="mybigcommerce.com"
BIGCOMMERCE_API_URL="https://api.bigcommerce.com"
BIGCOMMERCE_CDN_HOSTNAME="*.bigcommerce.com"
# ++++ Add custom values ++++
COMPANY_NAME="BigCommerce"
TWITTER_CREATOR="@BigCommerce"
TWITTER_SITE="https://nextjs.org/commerce"
SITE_NAME="ACME STORE"
# ++++ Store information ++++
BIGCOMMERCE_STORE_HASH=""
# ++++ Sales channel / Multi-Storefront ++++
# To get started quickly, you can use channel 1, which corresponds with the default hosted storefront configured with every account.
# However, it's best practice to create a channel for each storefront.
# To configure a new channel, use the following API call sequence:
# * Create a channel: https://developer.bigcommerce.com/docs/rest-management/channels#create-a-channel
# * Create a site (for the channel): https://developer.bigcommerce.com/docs/rest-management/sites#create-a-site
# * Upsert site checkout URL (for the channel site): https://developer.bigcommerce.com/docs/rest-management/channels/channel-site-checkout-url#upsert-a-site's-checkout-url
BIGCOMMERCE_CHANNEL_ID=""
# ++++ Authentication ++++
# Use a store-level API account. Scopes should include the following:
# * Storefront API Tokens : manage
# * Storefront API Customer Impersonation Tokens : manage
# * Carts : modify
# For more information, see https://developer.bigcommerce.com/api-docs/getting-started/api-accounts#oauth-scopes
BIGCOMMERCE_ACCESS_TOKEN=""
# Use the preceding access token to create a customer impersonation token:
# Create a customer impersonation token (to sign customers in to a headless storefront): https://developer.bigcommerce.com/docs/storefront-auth/tokens/customer-impersonation-token
BIGCOMMERCE_CUSTOMER_IMPERSONATION_TOKEN=""