> 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/store-management/user-stores.md).

# User stores

Get the stores associated to the user

## Get user stores

<mark style="color:green;">`POST`</mark> `https://integrations.mipos.shop/delivery_data/v1/stores`

This endpoint allows you to get all stores associated with the user  and their integrations services

#### Headers

| Name          | Type   | Description           |
| ------------- | ------ | --------------------- |
| Content-Type  | string | application/json      |
| Authorization | string | Bearer{access\_token} |

{% tabs %}
{% tab title="200 Stores successfully retrieved." %}

```
{
    "message": "Stores",
    "data": [
        {
            "id": 9,
            "name": "MIPOS_3_miPOSTesting",
            "created_at": "2020-05-05 14:22:33",
            "updated_at": "2020-05-05 14:22:33",
            "direction": null,
            "location_point": null,
            "country": "Colombia",
            "integrations": [
                {
                    "id": 13,
                    "name": "SKYSITE",
                    "type": "delivery",
                    "created_at": "2020-05-05T14:23:54.000000Z",
                    "updated_at": "2020-05-05T14:23:54.000000Z",
                    "user_id": 20
                }
            ]
        },
        {
            "id": 10,
            "name": "MIPOS_3_miPOS Testing",
            "created_at": "2020-05-05 15:54:19",
            "updated_at": "2020-05-05 15:54:19",
            "direction": null,
            "location_point": null,
            "country": "Colombia",
            "integrations": [
                {
                    "id": 13,
                    "name": "SKYSITE",
                    "type": "delivery",
                    "created_at": "2020-05-05T14:23:54.000000Z",
                    "updated_at": "2020-05-05T14:23:54.000000Z",
                    "user_id": 20
                },
                {
                    "id": 2,
                    "name": "Rappi",
                    "type": "delivery",
                    "created_at": "2020-03-24T22:01:14.000000Z",
                    "updated_at": "2020-03-24T22:01:14.000000Z",
                    "user_id": 0
                },
                {
                    "id": 44,
                    "name": "Justo",
                    "type": "delivery",
                    "created_at": "2020-07-06T23:10:15.000000Z",
                    "updated_at": "2020-07-06T23:10:15.000000Z",
                    "user_id": 0
                }
            ]
        },
        {
            "id": 13,
            "name": "MIPOS_229_BOL",
            "created_at": "2020-05-05 20:48:38",
            "updated_at": "2020-05-05 20:48:38",
            "direction": null,
            "location_point": null,
            "country": "Mexico",
            "integrations": [
                {
                    "id": 10,
                    "name": "jorge",
                    "type": "delivery",
                    "created_at": "2020-05-03T17:54:14.000000Z",
                    "updated_at": "2020-05-03T17:54:14.000000Z",
                    "user_id": 17
                },
                {
                    "id": 9,
                    "name": "saeed",
                    "type": "delivery",
                    "created_at": "2020-05-02T20:19:37.000000Z",
                    "updated_at": "2020-05-02T20:19:37.000000Z",
                    "user_id": 16
                },
                {
                    "id": 24,
                    "name": "Bol Centrito Web",
                    "type": "delivery",
                    "created_at": "2020-05-19T00:27:23.000000Z",
                    "updated_at": "2020-05-19T00:27:23.000000Z",
                    "user_id": 36
                }
            ]
        },
        {
            "id": 19,
            "name": "MIPOS_653_Office Burguer- Millas",
            "created_at": "2020-05-13 21:38:29",
            "updated_at": "2020-05-13 21:38:29",
            "direction": null,
            "location_point": null,
            "country": "Colombia",
            "integrations": []
        },
        {
            "id": 20,
            "name": "MIPOS_498_Por Kilo ( San Pedro)",
            "created_at": "2020-05-15 21:33:52",
            "updated_at": "2020-05-15 21:33:52",
            "direction": null,
            "location_point": null,
            "country": "Mexico",
            "integrations": [
                {
                    "id": 10,
                    "name": "jorge",
                    "type": "delivery",
                    "created_at": "2020-05-03T17:54:14.000000Z",
                    "updated_at": "2020-05-03T17:54:14.000000Z",
                    "user_id": 17
                },
                {
                    "id": 11,
                    "name": "Paul Medina",
                    "type": "delivery",
                    "created_at": "2020-05-04T23:19:07.000000Z",
                    "updated_at": "2020-05-04T23:19:07.000000Z",
                    "user_id": 18
                },
                {
                    "id": 25,
                    "name": "Por Kilo Centrito Web",
                    "type": "delivery",
                    "created_at": "2020-05-19T01:16:43.000000Z",
                    "updated_at": "2020-05-19T01:16:43.000000Z",
                    "user_id": 37
                }
            ]
        },
        {
            "id": 21,
            "name": "MIPOS_709_Tacoburro Fast food",
            "created_at": "2020-05-16 02:45:48",
            "updated_at": "2020-05-16 02:45:48",
            "direction": null,
            "location_point": null,
            "country": "Mexico",
            "integrations": []
        }      
    ]
}
```

{% endtab %}

{% tab title="401 " %}

```
"Unauthorized."
```

{% endtab %}
{% endtabs %}
