|
1
|
type: object |
|
2
|
description: The reservation's details. |
|
3
|
x-schemaName: AdminReservation |
|
4
|
required: |
|
5
|
- id |
|
6
|
- line_item_id |
|
7
|
- location_id |
|
8
|
- quantity |
|
9
|
- external_id |
|
10
|
- description |
|
11
|
- inventory_item_id |
|
12
|
properties: |
|
13
|
id: |
|
14
|
type: string |
|
15
|
title: id |
|
16
|
description: The reservation's ID. |
|
17
|
line_item_id: |
|
18
|
type: string |
|
19
|
title: line_item_id |
|
20
|
description: The ID of the line item this reservation is for. |
|
21
|
location_id: |
|
22
|
type: string |
|
23
|
title: location_id |
|
24
|
description: The ID of the location the quantity is reserved from. |
|
25
|
quantity: |
|
26
|
type: number |
|
27
|
title: quantity |
|
28
|
description: The reservation's quantity. |
|
29
|
external_id: |
|
30
|
type: string |
|
31
|
title: external_id |
|
32
|
description: An ID in an external system |
|
33
|
description: |
|
34
|
type: string |
|
35
|
title: description |
|
36
|
description: The reservation's description. |
|
37
|
inventory_item_id: |
|
38
|
type: string |
|
39
|
title: inventory_item_id |
|
40
|
description: The ID of the inventory item this reservation is associated with. |
|
41
|
inventory_item: |
|
42
|
$ref: ./AdminInventoryItem.yaml |
|
43
|
metadata: |
|
44
|
type: object |
|
45
|
description: The reservation's metadata, can hold custom key-value pairs. |
|
46
|
externalDocs: |
|
47
|
url: https://docs.medusajs.com/api/admin#manage-metadata |
|
48
|
description: Learn how to manage metadata |
|
49
|
created_by: |
|
50
|
type: string |
|
51
|
title: created_by |
|
52
|
description: The ID of the user that created this reservation. |
|
53
|
deleted_at: |
|
54
|
type: string |
|
55
|
format: date-time |
|
56
|
title: deleted_at |
|
57
|
description: The date this reservation was deleted. |
|
58
|
created_at: |
|
59
|
type: string |
|
60
|
format: date-time |
|
61
|
title: created_at |
|
62
|
description: The date this reservation was created. |
|
63
|
updated_at: |
|
64
|
type: string |
|
65
|
format: date-time |
|
66
|
title: updated_at |
|
67
|
description: The date this reservation was updated. |