Skip to content

Commit

Permalink
added dividers
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser committed Oct 4, 2022
1 parent 4ca2764 commit e7e6e8e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/content/advanced/backend/sales-channels/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,17 @@ The sales channel feature can be used in a variety of use cases including:
- Specifying different products for each channel you sell in.
- Support Omnichannel in your ecommerce store.

---

## SalesChannel Entity Overview

A sales channel is stored in the database as a [SalesChannel](../../../references/entities/classes/SalesChannel.md) entity. Some of its important attributes are:

- `name`: The name of the sales channel.
- `is_disabled`: A boolean value indicating of the Sales Channel is disabled or not.

---

## Relations to Other Entities

### Store
Expand Down Expand Up @@ -62,6 +66,8 @@ Orders can optionally be associated with a sales channel. You can filter orders

The relation is implemented in the [Order](../../../references/entities/classes/Order.md) entity. You can access the sales channel an order is associated with by expanding the `sales_channel` relation and using `order.sales_channel`. You can also access the ID of the sales channel using `order.sales_channel_id`.

---

## What’s Next 🚀

- Check out the [Sales Channel’s Admin APIs](https://docs.medusajs.com/api/admin/#tag/Sales-Channel).

0 comments on commit e7e6e8e

Please sign in to comment.