Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com> Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
19 lines
600 B
YAML
19 lines
600 B
YAML
type: object
|
|
required:
|
|
- variant_id
|
|
- quantity
|
|
properties:
|
|
variant_id:
|
|
type: string
|
|
description: The id of the Product Variant to generate the Line Item from.
|
|
quantity:
|
|
type: number
|
|
description: The quantity of the Product Variant to add to the Line Item.
|
|
metadata:
|
|
type: object
|
|
description: An optional key-value map with additional details about the Line Item.
|
|
externalDocs:
|
|
description: Learn about the metadata attribute, and how to delete and update it.
|
|
url: >-
|
|
https://docs.medusajs.com/development/entities/overview#metadata-attribute
|