> 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.md).

# Sales Channel

The sales channel represents where you sell your products. Subscribing to a Sales Channel will enable you to fulfill orders placed on it.

Following are the attributes of sales channel:

* Portal - eg. Amazon, Flipkart.
* Seller Account Details: Provide detail of account through which you are listed on the portal eg. Eshopbox seller account, your seller account.
* Fulfillment center: Order will be processed through this FC.
* Fulfillment Model: Model through which an order is fulfilled. eg: Snapdeal lite, Snapdeal Plus

![](/files/-M3QL30lh10x4zxR-cZK)

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

| Attribute                 | type                                                                                                         | Declaration                                                                                                                        |
| ------------------------- | ------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------- |
| `id`                      | `integer`                                                                                                    | Id to uniquely identify sales channel                                                                                              |
| `integrationModelId`      | `string`                                                                                                     | Unique id of integration model for which sales channel is created                                                                  |
| `channelAccountId`        | `string`                                                                                                     | Unique id of channel account                                                                                                       |
| `portalId`                | `integer`                                                                                                    | portal id corresponding to that particular sales channel                                                                           |
| `externalChannelId`       | `string`                                                                                                     | unique  channel name for which sales channel is created                                                                            |
| `accountSlug`             | `string`                                                                                                     | Workspace identifier of a particular sales channel                                                                                 |
| `portalName`              | `string`                                                                                                     | name of portal from foe which sales channel is created                                                                             |
| `integrationModelName`    | `string`                                                                                                     | Integration model name of that particular sales channel                                                                            |
| `channelAccountName`      | `string`                                                                                                     | channel account name of that particular sales channel                                                                              |
| `fulfillmentChannels`     | [`array[object]`](/eshopbox-developers/setting/sales-channel-subscription.md#the-fulfillmentchannels-object) | list of fulfillment center which is subscribed by sales channel                                                                    |
| `status`                  | `string`                                                                                                     | Status of sales channel(Active or Inactive)                                                                                        |
| `brandRegistrationStatus` | `string`                                                                                                     | Brand status [`Enum  : 0 , 1`](/eshopbox-developers/setting/sales-channel-subscription.md#enum-brandregistartionstatus)            |
| `enrollmentStatus`        | `string`                                                                                                     | Sales channel status [`Enum : 0 , 1`](/eshopbox-developers/setting/sales-channel-subscription.md#enum-enrollmentstatus)            |
| `opsVerificationStatus`   | `string`                                                                                                     | Fulfillment center status  [`Enum : 0 , 1`](/eshopbox-developers/setting/sales-channel-subscription.md#enum-opsverificationstatus) |
| `createdAt`               | `string`                                                                                                     | The time at which sales channel is created                                                                                         |
| `updatedAt`               | `string`                                                                                                     | The time at which sales channel is updated                                                                                         |

{% endtab %}

{% tab title="Sample Object" %}

```
{
    "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"
        }
    ],
    "status": "0",
    "brandRegistrationStatus": "0",
    "enrollmentStatus": "IN PROCESS",
    "createdAt": "2018-08-29T21:02:01.000+05:30",
    "updatedAt": "2019-11-19T11:06:08.000+05:30"
}
```

{% endtab %}
{% endtabs %}

## The fulfillmentChannels Object

| Attributes                                     | Type      | Description                                                             |
| ---------------------------------------------- | --------- | ----------------------------------------------------------------------- |
| `fulfillmentChannels[].fulfillmentChannelId`   | `string`  | Id of a  channel which is subscribed by a particular Fulfillment center |
| `fulfillmentChannels[].channelSubscriptionId`  | `string`  | Unique Id of a particular channel subscribed                            |
| `fulfillmentChannels[].warehouseId`            | `integer` | Unique id of fulfillment center                                         |
| `fulfillmentChannels[].externalWmsChannelName` | `string`  | WMS channel name                                                        |
| `fulfillmentChannels[].status`                 | `string`  | Status of fulfillment center (ACTIVE,INACTIVE)                          |
| `fulfillmentChannels[].enrollmentStatus`       | `string`  | Fulfillment channel enrollment status                                   |
| `fulfillmentChannels[].warehouseName`          | `string`  | Fulfillment center name                                                 |
| `fulfillmentChannels[].opsVerificationStatus`  | `string`  | Fulfillment center is verified by eshopbox team or not                  |

## Enum: brandRegistartionStatus

| Attribute | Descriptions            |
| --------- | ----------------------- |
| `1`       | Brand is Registered     |
| `0`       | Brand is not registered |

## Enum: enrollmentStatus

| Attribute | Descriptions                  |
| --------- | ----------------------------- |
| `1`       | Sales Channel is Enrolled     |
| `0`       | Sales Channel is not enrolled |

## Enum: opsVerificationStatus

| Attribute | Descriptions                                                    |
| --------- | --------------------------------------------------------------- |
| `1`       | Fulfillment center is verified for particular sales channel     |
| `0`       | Fulfillment center is not verified for particular sales channel |
