# Get a Sales Channel

## Get a sales channel

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

This endpoint allows to get records of a sales channel for a particular channel Id&#x20;

#### Path Parameters

| Name | Type   | Description                                                                    |
| ---- | ------ | ------------------------------------------------------------------------------ |
| id   | string | Unique identification number which used for getting records from sales channel |

#### Headers

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

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

```
{
    "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": "Amazon_prime_Eshopbox",
            "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"
}
```

{% endtab %}
{% endtabs %}

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

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

{% endtab %}
{% endtabs %}
