Product SEO Information
International Enhancements for Multi-Storefront
This feature is currently available for Enterprise stores and Partner Sandboxes. If the feature is not working as expected, please contact technical support, as the feature likely needs to be enabled for the individual store. To become an enterprise customer, contact your BigCommerce Customer Service Manager or our support team.
Using the Catalog features of the Admin API, you can set and query product SEO information, for example, page title and meta description.
You can perform the following:
- Set global product SEO information for the catalog. Channels inherit these by default.
- Create overrides for a channel and channel locale using the
overridesForLocalemutation. - Remove overrides for a channel and channel locale. A channel then inherits global values.
- Query product SEO information, those set at the global level and the overrides.
For a full schema, see the GraphQL Admin API reference.
Input fields
Setting or removing information requires that you specify ID fields in the input. For more information on how to specify ID fields, see Input fields.
Set product SEO information at the global level
The following example sets global product SEO information for the store, from which channels inherit by default. You can set the title and meta description for the product page.
Request
Response
Set product SEO information for a locale
The following example sets product SEO information for the specified storefront channel and locale within the channel. These will override global store information. You can set the title and meta description for the product page.
Request
Response
Remove product SEO information for a locale
The following example removes product SEO information for the specified channel and locale.
Omitting the overridesToRemove field from the input removes all overrides for product SEO information from the locale.
Request
Response
Query product SEO information
The following example retrieves product SEO information. You can retrieve global information for the store and overrides for the specified channel and locale.
Request
Response
- The
idfield contains the product’s global ID that you can retrieve from the Get all products endpoint. For example, a product with a global ID of 111 will have anidof"bc/store/product/111". - The
channelIdfield contains the channel’s global ID that you can retrieve from the Get all channels endpoint. For example, a channel with a global ID of 2 will have achannelIdof"bc/store/channel/2".