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>
57 lines
1.2 KiB
YAML
57 lines
1.2 KiB
YAML
type: object
|
|
description: The adjustment's details.
|
|
x-schemaName: BaseLineItemAdjustment
|
|
required:
|
|
- item
|
|
- item_id
|
|
- id
|
|
- amount
|
|
- cart_id
|
|
- created_at
|
|
- updated_at
|
|
properties:
|
|
item:
|
|
type: object
|
|
item_id:
|
|
type: string
|
|
title: item_id
|
|
description: The ID of the item this adjustment applies on.
|
|
id:
|
|
type: string
|
|
title: id
|
|
description: The adjustment's ID.
|
|
code:
|
|
type: string
|
|
title: code
|
|
description: The adjustment's code.
|
|
amount:
|
|
type: number
|
|
title: amount
|
|
description: The adjustment's amount.
|
|
cart_id:
|
|
type: string
|
|
title: cart_id
|
|
description: The ID of the cart this adjustment belongs to.
|
|
description:
|
|
type: string
|
|
title: description
|
|
description: The adjustment's description.
|
|
promotion_id:
|
|
type: string
|
|
title: promotion_id
|
|
description: The ID of the promotion applied by this adjustment.
|
|
provider_id:
|
|
type: string
|
|
title: provider_id
|
|
description: The adjustment's provider ID.
|
|
created_at:
|
|
type: string
|
|
format: date-time
|
|
title: created_at
|
|
description: The date the adjustment was created.
|
|
updated_at:
|
|
type: string
|
|
format: date-time
|
|
title: updated_at
|
|
description: The date the adjustment was updated.
|