chore(docs): Generated API Reference (#3262)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
co-authored by
olivermrbl
parent
67f9429293
commit
4fb22e8ba5
@@ -2,38 +2,45 @@ title: Line Item Adjustment
|
||||
description: Represents a Line Item Adjustment
|
||||
type: object
|
||||
required:
|
||||
- item_id
|
||||
- description
|
||||
- amount
|
||||
- description
|
||||
- discount_id
|
||||
- id
|
||||
- item_id
|
||||
- metadata
|
||||
properties:
|
||||
id:
|
||||
description: The Line Item Adjustment's ID
|
||||
type: string
|
||||
description: The invite's ID
|
||||
example: lia_01G8TKE4XYCTHSCK2GDEP47RE1
|
||||
item_id:
|
||||
type: string
|
||||
description: The ID of the line item
|
||||
type: string
|
||||
example: item_01G8ZC9GWT6B2GP5FSXRXNFNGN
|
||||
item:
|
||||
description: Available if the relation `item` is expanded.
|
||||
nullable: true
|
||||
$ref: ./LineItem.yaml
|
||||
description:
|
||||
type: string
|
||||
description: The line item's adjustment description
|
||||
type: string
|
||||
example: Adjusted item's price.
|
||||
discount_id:
|
||||
type: string
|
||||
description: The ID of the discount associated with the adjustment
|
||||
nullable: true
|
||||
type: string
|
||||
example: disc_01F0YESMW10MGHWJKZSDDMN0VN
|
||||
discount:
|
||||
description: Available if the relation `discount` is expanded.
|
||||
nullable: true
|
||||
$ref: ./Discount.yaml
|
||||
amount:
|
||||
type: number
|
||||
description: The adjustment amount
|
||||
type: integer
|
||||
example: 1000
|
||||
metadata:
|
||||
type: object
|
||||
description: An optional key-value map with additional details
|
||||
nullable: true
|
||||
type: object
|
||||
example:
|
||||
car: white
|
||||
|
||||
Reference in New Issue
Block a user