Files
medusa-store/docs/api/admin/components/schemas/ReservationItemDTO.yaml
github-actions[bot] 7963c16233 chore(docs): Generated API Reference (#4054)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-05-09 18:12:00 +03:00

45 lines
1.2 KiB
YAML

title: Reservation item
description: Represents a reservation of an inventory item at a stock location
type: object
required:
- id
- location_id
- inventory_item_id
- quantity
properties:
id:
description: The id of the reservation item
type: string
location_id:
description: The id of the location of the reservation
type: string
inventory_item_id:
description: The id of the inventory item the reservation relates to
type: string
description:
description: Description of the reservation item
type: string
created_by:
description: UserId of user who created the reservation item
type: string
quantity:
description: The id of the reservation item
type: number
metadata:
type: object
description: An optional key-value map with additional details
example:
car: white
created_at:
type: string
description: The date with timezone at which the resource was created.
format: date-time
updated_at:
type: string
description: The date with timezone at which the resource was updated.
format: date-time
deleted_at:
type: string
description: The date with timezone at which the resource was deleted.
format: date-time