|
1
|
/** |
|
2
|
* @schema AdminCreateReservation |
|
3
|
* type: object |
|
4
|
* description: The reservation's details. |
|
5
|
* x-schemaName: AdminCreateReservation |
|
6
|
* required: |
|
7
|
* - location_id |
|
8
|
* - inventory_item_id |
|
9
|
* - quantity |
|
10
|
* properties: |
|
11
|
* line_item_id: |
|
12
|
* type: string |
|
13
|
* title: line_item_id |
|
14
|
* description: The ID of the line item this reservation is created for. |
|
15
|
* location_id: |
|
16
|
* type: string |
|
17
|
* title: location_id |
|
18
|
* description: The ID of the location the quantity is reserved from. |
|
19
|
* inventory_item_id: |
|
20
|
* type: string |
|
21
|
* title: inventory_item_id |
|
22
|
* description: The ID of the inventory item associated with the line item's variant. |
|
23
|
* quantity: |
|
24
|
* type: number |
|
25
|
* title: quantity |
|
26
|
* description: The reserved quantity. |
|
27
|
* description: |
|
28
|
* type: string |
|
29
|
* title: description |
|
30
|
* description: The reservation's description. |
|
31
|
* metadata: |
|
32
|
* type: object |
|
33
|
* description: The reservation's metadata, used to store custom key-value pairs. |
|
34
|
* externalDocs: |
|
35
|
* url: https://docs.medusajs.com/api/admin#manage-metadata |
|
36
|
* description: Learn how to manage metadata |
|
37
|
* |
|
38
|
*/ |
|
39
|
|