Dev Center Updates

Page Builder and API Updates for September 9, 2020

by BigCommerce
Page Builder As of September 9, 2020, Page Builder is enabled on all Stencil stores by default. Page Builder documentation updated. API Passwordless Login updated to include more details and a customer email example. Listing...
Developer Blog
API
Stencil

Stencil-utils versions below 2.0.0 are deprecated

by BigCommerce
As of stencil-utils 2.0.0, the storefront API which returns the status of the cookie notification feature was removed: https://github.com/bigcommerce/cornerstone/pull/1380 This API is now deprecated, and will return a hardcoded...
Warning
Stencil

Required stencil-cli version is now 2.0.0

by BigCommerce
As of August 11, 2020, the required stencil-CLI version for local development is now 2.0.0. To update to the latest version of stencil-cli, simply run npm install -g @bigcommerce/stencil-cli. We recommend using the latest Node 10.x...
Announcement
Stencil
Warning

GraphQL Storefront API Complexity Scoring Adjusted

by BigCommerce
Based on feedback from our developer community, we've adjusted the weighting of our GraphQL Storefront API's complexity scoring in order to be more permissive. As a result, queries which may have previously been rejected on the basis of...
Storefront API
Enhancement

GraphQL Storefront API - Bulk Pricing on Products and Variants

by BigCommerce
The GraphQL Storefront API now supports fetching the bulk pricing tiers on both products and variants. Consider this query: query bulkPricingTiers { site { products(first: 3) { edges { cursor node...
API
Storefront API
Enhancement

Cart Suggestions removed from Stencil context Cart model

by BigCommerce
As of June 16, the ability to request a list of suggested products relevant to the user's current shopping cart has been removed. If this information is requested using Front Matter or a stencil-utils call, it will not be returned. This...
Warning
Stencil

GraphQL Storefront API updates - Variant-level inventory!

by BigCommerce
New features You may now request inventory levels for each product variant. Note that inventory levels will NOT be returned if your store settings are set to not display stock levels on the storefront. Consider this query: query...
API
Storefront API
Enhancement

GraphQL Storefront API updates - Metafields on Product, Category, Brand, Variant

by BigCommerce
New features Metafields which have been associated with products, categories, brands, or variants can now be accessed via the GraphQL Storefront API. The metafield must be marked with a permissionset of readandsfaccess or writeandsf...
Storefront API
Enhancement
API

GraphQL Storefront API updates - Product inventory

by BigCommerce
New Features A new inventory node has been exposed on products which allows you to fetch the aggregate product inventory. For a simple product, this will be the inventory value. For a product with multiple variants and variant-level...
Enhancement
Storefront API