API Updates and Announcement for April 25, 2024

by BigCommerce
API We’re happy to announce Promotions API is Generally Available (GA). The GraphQL Storefront API now supports cart metafields. Added a Localization document that describes how to localize a Catalyst storefront. Webhooks The
API
Announcement
Developer Blog
GraphQL
Webhooks

Change to default number of product images returned by GraphQL on April 15

by BigCommerce
On April 15, 2022, the behavior of the product.images node in the GraphQL storefront API will be changing to only return 10 images by default. If you wish to request a different number of product images, you should specify the`first`
Storefront API
Warning

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