---
updatedAt: 2025-08-05T09:36:53.000Z
agentTools:
  projectIndex: https://dev.tapcart.com/llms.txt
---

# switch/app

#### Fields

### `id` • *string* <span class="required-tag">required</span>

##### App id of the app you want to switch to. This can only be an app linked to your other accounts. Contact support to link apps by add-in to whitelist

### `maintainSession` • *boolean*

##### This is by default `false`. Only mark this as `true` if the app you are switching to is using the same Shopify instance

***

<br />

```javascript App Studio - React.js
Tapcart.action("switch/app", {
  "appId": "<App ID HERE>",
  "maintainSession": false
});
```