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

Commit

Permalink
add reference to the order item options and link (#8344)
Browse files Browse the repository at this point in the history
  • Loading branch information
RakeshJesadiya authored Dec 8, 2020
1 parent 27dab27 commit 9a16695
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
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

0 comments on commit 9a16695

Please sign in to comment.