---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../../modules.md) / [operations/mrt](../index.md) / getStorefrontsScapi

# Function: getStorefrontsScapi()

> **getStorefrontsScapi**(`conn`, `params`): `Promise`\<\{ `count`: `number`; `projects`: [`MrtProjectView`](../interfaces/MrtProjectView.md)[]; `raw`: `unknown`; \}\>

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/project.ts:614](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/8fc17d8708d025c83fb0c44ca73198a200605153/packages/b2c-tooling-sdk/src/operations/mrt/project.ts#L614)

Lists storefronts (MRT projects) for the organization via the SCAPI MRT
Storefronts API. The organization is fixed by the connection's tenant, so the
legacy `organization` filter does not apply. Forwards the standard SCAPI
`limit`/`offset` pagination (max 200 per page, default 25 server-side).

## Parameters

### conn

[`ScapiMrtConnection`](../interfaces/ScapiMrtConnection.md)

### params

#### limit?

`number`

#### offset?

`number`

## Returns

`Promise`\<\{ `count`: `number`; `projects`: [`MrtProjectView`](../interfaces/MrtProjectView.md)[]; `raw`: `unknown`; \}\>

## Throws

carrying the HTTP status on a non-2xx response.
