API Updates for December 2, 2021

by BigCommerce
API The Add to Cart URLs example now uses promises to demonstrate using JavaScript to make serial requests to a single endpoint. The Add Consignments to Checkout endpoint now reflects limits to the number of line items a consignment can
Storefront API
Bug Fix
Enhancement
Announcement

GraphQL Storefront API can now be used to power Stencil theme context

by BigCommerce
It is now possible to augment the data available in the theme context through the use of GraphQL queries described directly in the Front Matter of template files. Using this capability, you can fetch data a little bit more flexibly to build
Stencil
Storefront API
Announcement
Enhancement

Required Stencil-CLI version set to 3.5.0

by BigCommerce
A bug affecting users of stencil-CLI has been fixed as of CLI version 3.5.0. As this bug was resulting in CLI requests incorrectly redirecting which resulted in a degradation of the local development experience, we have bumped the required
Stencil
Announcement
Warning

Rendered Widget HTML now available in GraphQL Storefront API

by BigCommerce
You may now fetch the rendered HTML of widgets created via Widgets API or Page Builder. To get the content, you’ll need to provide a page type, and the ID for the page (if necessary). In the response, you’ll get a list of all the regions on
API
Announcement
Storefront API

GraphQL Storefront API now supports sorting products within categories

by BigCommerce
The GraphQL Storefront API’s now supports sorting the products on a Category node, using the sortBy parameter. This will match the equivalent sorting behaviors on the BigCommerce Storefront (Stencil). Consider this query: query
Storefront API
Enhancement

GraphQL Login Mutation now returns entire Customer object

by BigCommerce
The GraphQL Storefront API’s Login Mutation now supports fetching all of the details of the customer account after a successful login. Consider this query: mutation Login($email: String!, $pass: String!) { login(email: $email, password:
Storefront API
Enhancement

UPC, MPN, and GTIN now available in Storefront GraphQL API

by BigCommerce
The UPC, MPN, and GTIN fields are now available on both product and variant nodes in the GraphQL Storefront API
Storefront API
Enhancement
API
GraphQL

API Announcement for March 4, 2021

by BigCommerce
On April 30, 2021, the Coupon API will limit the characters allowed in a coupon name. An error will result if any special characters other than the following are used in the Coupon code field: Alphanumeric values White spaces Underscores (
Announcement
Warning
API

The qty_in_cart property is removed from the Stencil Common Product Card object

by BigCommerce
As part of an effort to improve the performance of BigCommerce storefronts, the qtyincart property is no longer supported on the Stencil Common Product Card Model. This property will return 0 from now on, and its use is discouraged. The...
Stencil
Theme
Warning