# 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

![](https://560124012-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-xybEJGFHkN6Wyubt2%2F-M3QIadd32xl4LuMdRmB%2F-M3QL30lh10x4zxR-cZK%2Fimage.png?alt=media\&token=6ab9fe45-ac5b-4dcd-b6fc-a4d3b94bdb88)

{% 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]`](#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`](#enum-brandregistartionstatus)            |
| `enrollmentStatus`        | `string`                                           | Sales channel status [`Enum : 0 , 1`](#enum-enrollmentstatus)            |
| `opsVerificationStatus`   | `string`                                           | Fulfillment center status  [`Enum : 0 , 1`](#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 |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://eshop.gitbook.io/eshopbox-developers/setting/sales-channel-subscription.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
