[**@wocart/storefront v3.1.0**](../../README)

***

[@wocart/storefront](../../README) / [index](../README) / StorefrontApiParams

# Type Alias: StorefrontApiParams\<N\>

> **StorefrontApiParams**\<`N`\> = `ParamOf`\<*typeof* [`STOREFRONT_API_PATHS`](../variables/STOREFRONT_API_PATHS)\[`N`\]\> *extends* `never` ? `Record`\<`string`, `never`\> : \{ \[K in ParamOf\<typeof STOREFRONT\_API\_PATHS\[N\]\>\]: string \| number \}

The parameter a route's path needs: `{ wilayaId }` for the communes, `{ productId }` for a product's reviews, nothing otherwise.

## Type Parameters

### N

`N` *extends* [`StorefrontApiName`](StorefrontApiName)
