> For the complete documentation index, see [llms.txt](https://eshop.gitbook.io/eshopbox-developers/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://eshop.gitbook.io/eshopbox-developers/setting/sales-channel-subscription/get-all-sales-channels.md).

# Get all Sales Channels

## Get  Sales Channels

<mark style="color:blue;">`GET`</mark> `https://{{workspace}}.myeshopbox.com/api/v1/channel`

This endpoint allows to get  records from list of sales channels  for a particular user

#### Query Parameters

| Name      | Type    | Description                                    |
| --------- | ------- | ---------------------------------------------- |
| page      | integer | The number of pages used to offset the results |
| per\_page | integer | The number of items to be return per page      |

#### Headers

| Name           | Type   | Description                                    |
| -------------- | ------ | ---------------------------------------------- |
| Authentication | string | The Bearer token is required to access the API |

{% tabs %}
{% tab title="200 Records from sales channel is successfully retrieved" %}

```
{
    "data": [
        {
            "id": "1",
            "integrationModelId": "1",
            "channelAccountId": "1",
            "portalId": "1",
            "externalChannelId": "1",
            "accountSlug": "CH1234",
            "portalName": "TATA CLIQ",
            "integrationModelName": "Amazon Prime",
            "channelAccountName": "Eshopbox channel account",
            "fulfillmentChannels": [
                {
                    "fulfillmentChannelId": "1",
                    "channelSubscriptionId": "1",
                    "warehouseId": "9",
                    "externalWmsChannelName": "Amazon_prime_Eshopbox",
                    "status": "0",
                    "enrollmentStatus": "INACTIVE",
                    "warehouseName": "Kapas Kraft Apparels Limited 1006",
                    "opsVerificationStatus": "0"
                },
                {
                    "fulfillmentChannelId": "2",
                    "channelSubscriptionId": "2",
                    "warehouseId": "16",
                    "externalWmsChannelName": "TestChannel2",
                    "status": "0",
                    "enrollmentStatus": "INACTIVE",
                    "warehouseName": "Kapas Kraft Apparels Limited 1006",
                    "opsVerificationStatus": "0"
                }
            ],
            "additionalDetails": {
                "fieldName1": "CH0001",
                "fieldName2": "CH0001"
            },
            "status": "0",
            "brandRegistrationStatus": "0",
            "enrollmentStatus": "IN PROCESS",
            "createdAt": "2019-04-08T12:41:05.000+05:30",
            "updatedAt": "2019-04-08T12:41:05.000+05:30"
        },
        {
            "id": "2",
            "integrationModelId": "2",
            "channelAccountId": "2",
            "portalId": "2",
            "externalChannelId": "2",
            "accountSlug": "CH1234",
            "portalName": "TATA CLIQ",
            "integrationModelName": "Amazon Prime",
            "channelAccountName": "Eshopbox channel account",
            "fulfillmentChannels": [
                {
                    "fulfillmentChannelId": "3",
                    "channelSubscriptionId": "3",
                    "warehouseId": "18",
                    "externalWmsChannelName": "Amazon_prime_Eshopbox",
                    "status": "0",
                    "enrollmentStatus": "INACTIVE",
                    "warehouseName": "Kapas Kraft Apparels Limited 1006",
                    "opsVerificationStatus": "0"
                },
                {
                    "fulfillmentChannelId": "4",
                    "channelSubscriptionId": "3",
                    "warehouseId": "21",
                    "externalWmsChannelName": "TestChannel4",
                    "status": "0",
                    "enrollmentStatus": "ACTIVE",
                    "warehouseName": "Kapas Kraft Apparels Limited 1006",
                    "opsVerificationStatus": "0"
                }
            ],
            "additionalDetails": {
                "fieldName1": "CH0001",
                "fieldName2": "CH0001"
            },
            "status": "0",
            "brandRegistrationStatus": "0",
            "enrollmentStatus": "ACTIVE",
            "createdAt": "2019-04-08T12:41:05.000+05:30",
            "updatedAt": "2019-04-08T12:41:05.000+05:30"
        }
    ],
    "total": "100",
    "page": "1",
    "per_page": "10"
}
```

{% endtab %}
{% endtabs %}

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

```
curl -X GET https://{{workspace}}.myeshopbox.com/api/v1/channel \    
 -H "Authorization: Bearer XXXX"
```

{% endtab %}
{% endtabs %}
