23 lines
625 B
YAML
23 lines
625 B
YAML
type: object
|
|
description: The stock location's details.
|
|
x-schemaName: AdminCreateStockLocation
|
|
required:
|
|
- name
|
|
properties:
|
|
name:
|
|
type: string
|
|
title: name
|
|
description: The stock location's name.
|
|
address_id:
|
|
type: string
|
|
title: address_id
|
|
description: The ID of the stock location's address.
|
|
address:
|
|
$ref: ./AdminUpsertStockLocationAddress.yaml
|
|
metadata:
|
|
type: object
|
|
description: The stock location's metadata, used to store custom key-value pairs.
|
|
externalDocs:
|
|
url: https://docs.medusajs.com/api/admin#manage-metadata
|
|
description: Learn how to manage metadata
|