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