Files
medusa-store/docs/api/admin/components/schemas/AdminPostDraftOrdersDraftOrderLineItemsReq.yaml
2022-12-22 17:09:49 +02:00

21 lines
551 B
YAML

type: object
required:
- quantity
properties:
variant_id:
description: The ID of the Product Variant to generate the Line Item from.
type: string
unit_price:
description: The potential custom price of the item.
type: integer
title:
description: The potential custom title of the item.
type: string
default: Custom item
quantity:
description: The quantity of the Line Item.
type: integer
metadata:
description: The optional key-value map with additional details about the Line Item.
type: object