> For the complete documentation index, see [llms.txt](https://mipos.gitbook.io/public-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mipos.gitbook.io/public-api/integration-management/disable-delivery-integration.md).

# Disable delivery integration

## Disable delivery integration

<mark style="color:green;">`POST`</mark> `https://integrations.mipos.shop/api/v1/integration/disable`

Disable selected integration for this store

#### Headers

| Name          | Type   | Description            |
| ------------- | ------ | ---------------------- |
| Authorization | string | Bearer {access\_token} |

#### Request Body

| Name            | Type   | Description                           |
| --------------- | ------ | ------------------------------------- |
| store\_id       | string | Id of the store in the platform       |
| integration\_id | string | Id of the integration in the platform |

{% tabs %}
{% tab title="200 " %}

```javascript
{
    "message": [
        "Successfully deactivation integration."
    ],
    "data": null
}
```

{% endtab %}

{% tab title="401 " %}

```
"Unauthorized."
```

{% endtab %}

{% tab title="409 " %}

```javascript
{
    "message": [
        "This name is not available.",
        "You don't have this store available.",
        "Integration not available.",
        "Microservice does not have this integration configured.",
        "Could not change the status of integration.",
        "Unable to get token.",
        "This store does not have the store delivery id."
    ],
    "data": null
}
```

{% endtab %}

{% tab title="422 " %}

```javascript
{
    "store_id": [
        "The store id field is required.",
        "The selected store id is invalid."
    ],
    "integration_id": [
        "The integration id field is required.",
        "The selected integration id is invalid."
    ]
}
```

{% endtab %}
{% endtabs %}

<mark style="color:blue;">`GET`</mark> `https://mipos.shop/api/v1/orders/{store_id}`

#### Headers

| Name          | Type   | Description            |
| ------------- | ------ | ---------------------- |
| Authorization | string | Bearer {access\_token} |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}
