Files
medusa-store/www/utils/generated/oas-output/schemas/StoreAddCartLineItem.ts
Shahed Nasser be1adac024 chore(oas): [18/n] improve oas schemas (#9311)
Improve OAS schemas [18/n]
2024-09-26 14:08:10 +00:00

24 lines
553 B
TypeScript

/**
* @schema StoreAddCartLineItem
* type: object
* description: The details of the line item to add.
* x-schemaName: StoreAddCartLineItem
* required:
* - variant_id
* - quantity
* properties:
* variant_id:
* type: string
* title: variant_id
* description: The ID of the product variant to add to the cart.
* quantity:
* type: number
* title: quantity
* description: The item's quantity.
* metadata:
* type: object
* description: The item's metadata, can hold custom key-value pairs.
*
*/