Added gift_certificate_id
to Get an Order Product endpoint.
Added original_price
, a new attribute for return items in the Storefront Cart and Storefront Checkout APIs.
Partners
Added the ability for Impartner users to create sandbox accounts directly from the Deal Registration dashboard.
Developer Blog
]]>Added gift_certificate_id
to Get an Order Product endpoint.
Added original_price
, a new attribute for return items in the Storefront Cart and Storefront Checkout APIs.
Partners
Added the ability for Impartner users to create sandbox accounts directly from the Deal Registration dashboard.
Developer Blog
]]>Added store/order/transaction/created
and store/order/transaction/updated
webhook events. Please note that if your application uses the store/order/* scope to create webhooks, it will start receiving this event and should be prepared to respond with a 200 status code. See Handling callbacks for more details.
Created Widget Builder Guide for the newly-released Widget Builder development tool.
Updates to the Tools and Resources page and the API Docs' Building Apps section's Quick Start, Guide, and Build a Next.js Sample App tutorial reflect continuing support for app developers.
Developer Blog
]]>Added store/order/transaction/created
and store/order/transaction/updated
webhook events. Please note that if your application uses the store/order/* scope to create webhooks, it will start receiving this event and should be prepared to respond with a 200 status code. See Handling callbacks for more details.
Created Widget Builder Guide for the newly-released Widget Builder development tool.
Updates to the Tools and Resources page and the API Docs' Building Apps section's Quick Start, Guide, and Build a Next.js Sample App tutorial reflect continuing support for app developers.
Developer Blog
]]>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 contain.
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 contain.
/xmlsitemap.php
, the default sitemap route for storefronts. There will be separate sitemaps for different types of pages such as Product, Categories, and Web Content Pages.This change is being made in order to support storefronts which may have more than 50,000 URLs, which is the limit of URLs-per-sitemap defined by the sitemap specification.
However, there are other benefits to using a sitemap index, as it may provide better visibility into the indexing status of your sitemaps in tools such as Google Webmaster Tools.
]]>/xmlsitemap.php
, the default sitemap route for storefronts. There will be separate sitemaps for different types of pages such as Product, Categories, and Web Content Pages.This change is being made in order to support storefronts which may have more than 50,000 URLs, which is the limit of URLs-per-sitemap defined by the sitemap specification.
However, there are other benefits to using a sitemap index, as it may provide better visibility into the indexing status of your sitemaps in tools such as Google Webmaster Tools.
]]>Using this capability, you can fetch data a little bit more flexibly to build your themes.
Here’s an example of using a GraphQL query in Front Matter to fetch metafields in product.html:
---
product:
videos:
limit: {{theme_settings.productpage_videos_count}}
reviews:
limit: {{theme_settings.productpage_reviews_count}}
related_products:
limit: {{theme_settings.productpage_related_products_count}}
similar_by_views:
limit: {{theme_settings.productpage_similar_by_views_count}}
gql: "query productMetafieldsById($productId: Int!) {
site {
product(entityId: $productId) {
metafields(namespace: \"my-namespace\") {
edges {
node {
key
value
}
}
}
}
}
}
"
---
More information on how to use this new storefront capability is available here: https://developer.bigcommerce.com/stencil-docs/reference-docs/front-matter-reference#graphql-attributes
]]>Using this capability, you can fetch data a little bit more flexibly to build your themes.
Here’s an example of using a GraphQL query in Front Matter to fetch metafields in product.html:
---
product:
videos:
limit: {{theme_settings.productpage_videos_count}}
reviews:
limit: {{theme_settings.productpage_reviews_count}}
related_products:
limit: {{theme_settings.productpage_related_products_count}}
similar_by_views:
limit: {{theme_settings.productpage_similar_by_views_count}}
gql: "query productMetafieldsById($productId: Int!) {
site {
product(entityId: $productId) {
metafields(namespace: \"my-namespace\") {
edges {
node {
key
value
}
}
}
}
}
}
"
---
More information on how to use this new storefront capability is available here: https://developer.bigcommerce.com/stencil-docs/reference-docs/front-matter-reference#graphql-attributes
]]>3.4.0
, any published Widgets on the storefront will appear while rendering the storefront locally with the CLI. This will allow you to have a more realistic preview of what theme changes will look like in conjunction with any Page Builder content, before you publish your theme.
To update to the latest version of stencil-cli, simply run:
npm i -g @bigcommerce/stencil-cli
3.4.0
, any published Widgets on the storefront will appear while rendering the storefront locally with the CLI. This will allow you to have a more realistic preview of what theme changes will look like in conjunction with any Page Builder content, before you publish your theme.
To update to the latest version of stencil-cli, simply run:
npm i -g @bigcommerce/stencil-cli
sortBy
parameter. This will match the equivalent sorting behaviors on the BigCommerce Storefront (Stencil).Consider this query:
query CategoryByUrl {
site {
route(path: "/shop-all") {
node {
__typename
id
... on Category {
name
products(first: 20, sortBy: DEFAULT) {
# Use sortBy parameter to use any of the available storefront sorts
edges {
node {
name
defaultImage {
url(width: 360)
}
}
}
}
}
}
}
}
}
]]>sortBy
parameter. This will match the equivalent sorting behaviors on the BigCommerce Storefront (Stencil).Consider this query:
query CategoryByUrl {
site {
route(path: "/shop-all") {
node {
__typename
id
... on Category {
name
products(first: 20, sortBy: DEFAULT) {
# Use sortBy parameter to use any of the available storefront sorts
edges {
node {
name
defaultImage {
url(width: 360)
}
}
}
}
}
}
}
}
}
]]>mutation Login($email: String!, $pass: String!) {
login(email: $email, password: $pass) {
result
customer {
entityId
firstName
lastName
email
storeCredit {
value
currencyCode
}
attributes {
attribute(entityId: 123) {
name
value
}
}
}
}
}
]]>mutation Login($email: String!, $pass: String!) {
login(email: $email, password: $pass) {
result
customer {
entityId
firstName
lastName
email
storeCredit {
value
currencyCode
}
attributes {
attribute(entityId: 123) {
name
value
}
}
}
}
}
]]>Added business-to-business functionality to the BigCommerce platform with the B2B Edition of BigCommerce
Developer Blog
]]>Added business-to-business functionality to the BigCommerce platform with the B2B Edition of BigCommerce
Developer Blog
]]>The UPC, MPN, and GTIN fields are now available on both product
and variant
nodes in the GraphQL Storefront API
The UPC, MPN, and GTIN fields are now available on both product
and variant
nodes in the GraphQL Storefront API