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

Commit 9a16695

Browse files
add reference to the order item options and link (#8344)
1 parent 27dab27 commit 9a16695

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

src/_includes/graphql/invoice-item-interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Attribute | Data type | Description
22
--- | --- | ---
33
`discounts` | [Discount] | Contains information about the final discount amount for the base product, including discounts on options
44
`id` | ID! | The unique ID of the invoice item
5-
`order_item` | OrderItemInterface | Contains details about an individual order item
5+
`order_item` | [OrderItemInterface]({{page.baseurl}}/graphql/interfaces/order-item-interface.html) | Contains details about an individual order item
66
`product_name` | String | The name of the base product
77
`product_sale_price` | Money! | The sale price for the base product including selected options
88
`product_sku` | String! | The SKU of the base product

src/_includes/graphql/order-item-interface.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Attribute | Data Type | Description
22
--- | --- | ---
33
`discounts` | [Discount] | Final discount information for the product
4-
`entered_options` | [OrderItemOption] | The entered option for the base product, such as a logo or image
4+
`entered_options` | [`[OrderItemOption]`](#OrderItemOption) | The entered option for the base product, such as a logo or image
55
`id` | ID! | The unique identifier for the order item
66
`product_name` | String | The name of the base product
77
`product_sale_price` | Money! | The sale price of the base product, including selected options
@@ -14,5 +14,12 @@ Attribute | Data Type | Description
1414
`quantity_refunded` | Float | The number of refunded items
1515
`quantity_returned` | Float | The number of returned items
1616
`quantity_shipped` | Float | The number of shipped items
17-
`selected_options` | [OrderItemOption] | The selected options for the base product, such as color or size
18-
`status` | String | The status of the order item
17+
`selected_options` | [`[OrderItemOption]`](#OrderItemOption) | The selected options for the base product, such as color or size
18+
`status` | String | The status of the order item
19+
20+
#### OrderItemOption attributes {#OrderItemOption}
21+
22+
Attribute | Data type | Description
23+
--- | --- | ---
24+
`label` | String! | The name of the option
25+
`value` | String! | The value of the option

0 commit comments

Comments
 (0)