* docs: migrate ui docs to docs universe * created yarn workspace * added eslint and tsconfig configurations * fix eslint configurations * fixed eslint configurations * shared tailwind configurations * added shared ui package * added more shared components * migrating more components * made details components shared * move InlineCode component * moved InputText * moved Loading component * Moved Modal component * moved Select components * Moved Tooltip component * moved Search components * moved ColorMode provider * Moved Notification components and providers * used icons package * use UI colors in api-reference * moved Navbar component * used Navbar and Search in UI docs * added Feedback to UI docs * general enhancements * fix color mode * added copy colors file from ui-preset * added features and enhancements to UI docs * move Sidebar component and provider * general fixes and preparations for deployment * update docusaurus version * adjusted versions * fix output directory * remove rootDirectory property * fix yarn.lock * moved code component * added vale for all docs MD and MDX * fix tests * fix vale error * fix deployment errors * change ignore commands * add output directory * fix docs test * general fixes * content fixes * fix announcement script * added changeset * fix vale checks * added nofilter option * fix vale error
74 lines
2.1 KiB
YAML
74 lines
2.1 KiB
YAML
title: Order Item Change
|
|
description: >-
|
|
An order item change is a change made within an order edit to an order's
|
|
items. These changes are not reflected on the original order until the order
|
|
edit is confirmed.
|
|
type: object
|
|
required:
|
|
- created_at
|
|
- deleted_at
|
|
- id
|
|
- line_item_id
|
|
- order_edit_id
|
|
- original_line_item_id
|
|
- type
|
|
- updated_at
|
|
properties:
|
|
id:
|
|
description: The order item change's ID
|
|
type: string
|
|
example: oic_01G8TJSYT9M6AVS5N4EMNFS1EK
|
|
type:
|
|
description: The order item change's status
|
|
type: string
|
|
enum:
|
|
- item_add
|
|
- item_remove
|
|
- item_update
|
|
order_edit_id:
|
|
description: The ID of the order edit
|
|
type: string
|
|
example: oe_01G2SG30J8C85S4A5CHM2S1NS2
|
|
order_edit:
|
|
description: The details of the order edit the item change is associated with.
|
|
x-expandable: order_edit
|
|
nullable: true
|
|
type: object
|
|
original_line_item_id:
|
|
description: The ID of the original line item in the order
|
|
nullable: true
|
|
type: string
|
|
example: item_01G8ZC9GWT6B2GP5FSXRXNFNGN
|
|
original_line_item:
|
|
description: >-
|
|
The details of the original line item this item change references. This is
|
|
used if the item change updates or deletes the original item.
|
|
x-expandable: original_line_item
|
|
nullable: true
|
|
$ref: ./LineItem.yaml
|
|
line_item_id:
|
|
description: The ID of the cloned line item.
|
|
nullable: true
|
|
type: string
|
|
example: item_01G8ZC9GWT6B2GP5FSXRXNFNGN
|
|
line_item:
|
|
description: >-
|
|
The details of the resulting line item after the item change. This line
|
|
item is then used in the original order once the order edit is confirmed.
|
|
x-expandable: line_item
|
|
nullable: true
|
|
$ref: ./LineItem.yaml
|
|
created_at:
|
|
description: The date with timezone at which the resource was created.
|
|
type: string
|
|
format: date-time
|
|
updated_at:
|
|
description: The date with timezone at which the resource was updated.
|
|
type: string
|
|
format: date-time
|
|
deleted_at:
|
|
description: The date with timezone at which the resource was deleted.
|
|
nullable: true
|
|
type: string
|
|
format: date-time
|