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>
This commit is contained in:
committed by
GitHub
parent
2ea766daf5
commit
8209d936a0
@@ -0,0 +1,45 @@
|
||||
type: object
|
||||
description: The order item's details.
|
||||
x-schemaName: AdminOrderItem
|
||||
required:
|
||||
- order_id
|
||||
- item_id
|
||||
- version
|
||||
- history
|
||||
- item
|
||||
properties:
|
||||
order_id:
|
||||
type: string
|
||||
title: order_id
|
||||
description: The ID of the order this item belongs to.
|
||||
item_id:
|
||||
type: string
|
||||
title: item_id
|
||||
description: The ID of the associated line item.
|
||||
version:
|
||||
type: number
|
||||
title: version
|
||||
description: The order item's version.
|
||||
history:
|
||||
type: object
|
||||
description: The order item's history.
|
||||
required:
|
||||
- version
|
||||
properties:
|
||||
version:
|
||||
type: object
|
||||
description: The version changes of the item.
|
||||
required:
|
||||
- from
|
||||
- to
|
||||
properties:
|
||||
from:
|
||||
type: number
|
||||
title: from
|
||||
description: The original version.
|
||||
to:
|
||||
type: number
|
||||
title: to
|
||||
description: The new version.
|
||||
item:
|
||||
$ref: ./AdminOrderLineItem.yaml
|
||||
Reference in New Issue
Block a user