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