Files
medusa-store/www/utils/generated/oas-output/schemas/AdminPostOrderEditsAddItemsReqSchema.ts
github-actions[bot] 8209d936a0 chore(docs): Updated API Reference (v2) (#9666)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2024-10-18 17:14:26 +00:00

47 lines
1.5 KiB
TypeScript

/**
* @schema AdminPostOrderEditsAddItemsReqSchema
* type: object
* description: The details of items to be edited.
* x-schemaName: AdminPostOrderEditsAddItemsReqSchema
* properties:
* items:
* type: array
* description: The details of items to be edited.
* items:
* type: object
* description: An item's details.
* required:
* - variant_id
* - quantity
* properties:
* variant_id:
* type: string
* title: variant_id
* description: The ID of the associated product variant.
* quantity:
* type: number
* title: quantity
* description: The item's quantity.
* unit_price:
* type: number
* title: unit_price
* description: The item's unit price.
* internal_note:
* type: string
* title: internal_note
* description: A note viewed only by admin users.
* allow_backorder:
* type: boolean
* title: allow_backorder
* description: Whether the item can be added even if there's no available invenotory quantity of the variant.
* metadata:
* type: object
* description: The item's metadata, can hold custom key-value pairs.
* compare_at_unit_price:
* type: number
* title: compare_at_unit_price
* description: The original price of the item before a promotion or sale.
*
*/