Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
DEVDOCS-5675: [update] add graphQL behavior (#2116)
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-traciporter authored Dec 18, 2023
1 parent 7850ebb commit 348e863
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/api-docs/storefront/graphql/graphql-api-overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,9 @@ BigCommerce has limits on certain portions of the platform.
| Maximum [banners](/docs/storefront/stencil/themes/context/object-reference/schemas#banners) per query | 50 |
| Maximum [products](/docs/storefront/stencil/themes/context/object-reference/schemas#products) per query | 50 |

## FAQ: Querying for channels other than Stencil storefronts and querying from external systems
## FAQ:

### Querying for channels other than Stencil storefronts and querying from external systems

If you wish to use the GraphQL Storefront API from an external system, there are a few considerations.

Expand All @@ -708,6 +710,10 @@ If you wish to use the GraphQL Storefront API from an external system, there are

As a best practice, you should create tokens that expire and rotate them regularly before their expiry. However, you are also permitted to create long-lived tokens.

### Can I hide the display of a field, such as the product's price, on the storefront by toggling the setting in the control panel?

You can toggle off the `show_product_price` field in the control panel to prevent the display in GraphQL. The `prices` field returns `null` in the GraphQL response.

### I want to run requests in the context of the store's default channel (channel ID 1)

There are two public URLs you can use to run requests:
Expand Down

0 comments on commit 348e863

Please sign in to comment.