Results 15 comments of Corey Kogan

> Hey, @kogan007, thanks for the notice, and I hope you like the module! > > We could also create a specific import endpoint for Gatsby with the suitable types....

@Nazmer framework/bigcommerce/api/endpoints/catalog/get-products add page to query params, mine looks like this `body: { search, categoryId, brandId, sort, page, limit }` then where all the query params are being set add...

Also if you check the bigcommerce api reference over at https://developer.bigcommerce.com/api-reference they have a lot of details about all the endpoints and objects, so what I did with mine was...

In getStaticPaths change it so that for the return its something like paths.map(path => ({ params: { pages: [path] } }))

Super easy to implement on your own. In framework/bigcommerce create api endpoint subscribe and make it somewhat similar to this ``` const { data } = await config.storeApiFetch('/v3/customers/subscribers', { method:...

> What is in your @commerce/customer/use-subscribe ? Do you have a working exemple somewhere ? > > I wrote the code bellow, inspired from the use-signup. > > ``` >...

Make sure you're not forgetting to add the hook in bigcommerce/provider.ts and likewise in commerce/index.tsx

Open framework/bigcommerce/api/operations/get-all-pages.ts Look for this ``` const { data } = await cfg.storeApiFetch< RecursivePartial >('/v3/content/pages') ``` change it to ``` const { data } = await cfg.storeApiFetch< RecursivePartial >('/v3/content/pages?limit=250') ```

framwork/bigcommerce/api/endpoints/catalog/products/get-products.ts Add a body parameter called limit Add a search param - if (limit) url.searchParams.set('limit', String(limit)) then in framework/bigcommerce/product/use-search.tsx add the limit parameter to input and that same search param...

> @kogan007 Thanks, the maximum amount for the limit is 50 though since the BigCommerce GraphQL API only supports a maximum amount of 50 items being returned in a single...