---
title: miniToggle
description: Enables or disables the Mini by partner.
source_url:
  html: 'https://shopify.dev/docs/api/shop-minis/minis-admin-api/mutations/minitoggle'
  md: >-
    https://shopify.dev/docs/api/shop-minis/minis-admin-api/mutations/minitoggle.md
api_name: shop-minis
---

# miniToggle

Enables or disables the Mini by partner.

#### Input

Input arguments for the mutation.

* **enable**

  **boolean**

  **required**

  The flag to enable or disable Mini.

#### Return type

This mutation returns a `MiniTogglePayload` object with the following fields:

* **enabled**

  **boolean | null**

  The flag whether the Mini is enabled or disabled.

Examples

### Examples

* ####

  ##### graphql

  ```graphql
  mutation ToggleMini($enable: Boolean!) {
    miniToggle(enable: $enable) {
      enabled
    }
  }
  ```

***
