|
1
|
type: object |
|
2
|
description: The stock location's details. |
|
3
|
x-schemaName: AdminCreateStockLocation |
|
4
|
required: |
|
5
|
- name |
|
6
|
properties: |
|
7
|
name: |
|
8
|
type: string |
|
9
|
title: name |
|
10
|
description: The stock location's name. |
|
11
|
address_id: |
|
12
|
type: string |
|
13
|
title: address_id |
|
14
|
description: The ID of the stock location's address. |
|
15
|
address: |
|
16
|
$ref: ./AdminUpsertStockLocationAddress.yaml |
|
17
|
metadata: |
|
18
|
type: object |
|
19
|
description: The stock location's metadata, used to store custom key-value pairs. |
|
20
|
externalDocs: |
|
21
|
url: https://docs.medusajs.com/api/admin#manage-metadata |
|
22
|
description: Learn how to manage metadata |