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

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

# Function: listBundlesScapi()

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

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/push.ts:794](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d2e58e4f1db44e0a640eb7f21c14a77b6380b451/packages/b2c-tooling-sdk/src/operations/mrt/push.ts#L794)

Lists bundles for a storefront via the SCAPI MRT Deployments API.

Forwards the standard SCAPI `limit`/`offset` pagination query parameters when
provided (the response echoes the full `total`), mirroring the legacy list and
[listDeploymentsScapi](listDeploymentsScapi.md).

## Parameters

### conn

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

### params

#### limit?

`number`

#### offset?

`number`

#### storefrontId

`string`

## Returns

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

## Throws

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