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

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 Updates for December 17, 2020

by BigCommerce
API Widgets API now supports GraphQL queries on widgets. Added Create Widgets Powered by GraphQL tutorial to Widgets API documentation. Added storefrontapiquery property to Widget Template.
API
Announcement
Enhancement
GraphQL

GraphQL Complexity Limit Increased (October 2020)

by BigCommerce
We have once again adjusted the GraphQL Storefront API complexity limit to be more permissive, based on developer feedback. If you have previously bumped up against the complexity limit for a particular query, you are encouraged to try...
Storefront API
Enhancement
Announcement

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