Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Add reference to the order item options for the OrderItemInterface attributes page and dynamic link in Invoice attribute page. #8344

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/_includes/graphql/invoice-item-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Attribute | Data type | Description
--- | --- | ---
`discounts` | [Discount] | Contains information about the final discount amount for the base product, including discounts on options
`id` | ID! | The unique ID of the invoice item
`order_item` | OrderItemInterface | Contains details about an individual order item
`order_item` | [OrderItemInterface]({{page.baseurl}}/graphql/interfaces/order-item-interface.html) | Contains details about an individual order item
`product_name` | String | The name of the base product
`product_sale_price` | Money! | The sale price for the base product including selected options
`product_sku` | String! | The SKU of the base product
Expand Down
13 changes: 10 additions & 3 deletions src/_includes/graphql/order-item-interface.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Attribute | Data Type | Description
--- | --- | ---
`discounts` | [Discount] | Final discount information for the product
`entered_options` | [OrderItemOption] | The entered option for the base product, such as a logo or image
`entered_options` | [`[OrderItemOption]`](#OrderItemOption) | The entered option for the base product, such as a logo or image
`id` | ID! | The unique identifier for the order item
`product_name` | String | The name of the base product
`product_sale_price` | Money! | The sale price of the base product, including selected options
Expand All @@ -14,5 +14,12 @@ Attribute | Data Type | Description
`quantity_refunded` | Float | The number of refunded items
`quantity_returned` | Float | The number of returned items
`quantity_shipped` | Float | The number of shipped items
`selected_options` | [OrderItemOption] | The selected options for the base product, such as color or size
`status` | String | The status of the order item
`selected_options` | [`[OrderItemOption]`](#OrderItemOption) | The selected options for the base product, such as color or size
`status` | String | The status of the order item

#### OrderItemOption attributes {#OrderItemOption}

Attribute | Data type | Description
--- | --- | ---
`label` | String! | The name of the option
`value` | String! | The value of the option