type: object required: - variant_id - quantity properties: variant_id: description: The ID of the product variant associated with the item. type: string quantity: description: The quantity of the item. type: number metadata: description: An optional set of key-value pairs to hold additional information. type: object externalDocs: description: Learn about the metadata attribute, and how to delete and update it. url: >- https://docs.medusajs.com/development/entities/overview#metadata-attribute