chore(docs): Generated API Reference (#4706)

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
This commit is contained in:
github-actions[bot]
2023-08-07 16:54:48 +03:00
committed by GitHub
parent efdea04963
commit 658339767b
1138 changed files with 11740 additions and 7043 deletions

View File

@@ -1,5 +1,8 @@
title: Sales Channel
description: A Sales Channel
description: >-
A Sales Channel is a method a business offers its products for purchase for
the customers. For example, a Webshop can be a sales channel, and a mobile app
can be another.
type: object
required:
- created_at
@@ -28,10 +31,9 @@ properties:
type: boolean
default: false
locations:
description: >-
The Stock Locations related to the sales channel. Available if the
relation `locations` is expanded.
description: The details of the stock locations related to the sales channel.
type: array
x-expandable: locations
items:
$ref: ./SalesChannelLocation.yaml
created_at:
@@ -47,3 +49,13 @@ properties:
nullable: true
type: string
format: date-time
metadata:
description: An optional key-value map with additional details
nullable: true
type: object
example:
car: white
externalDocs:
description: Learn about the metadata attribute, and how to delete and update it.
url: >-
https://docs.medusajs.com/development/entities/overview#metadata-attribute