---
title: "OrderItems (Magento)"
description: "Order Items"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/magento/Magento.Sales.OrderItems
original: https://documentation.invantive.eu/en/datamodels/magento/Magento.Sales.OrderItems
updated: 2026-11-03T19:00:58Z
license: https://documentation.invantive.eu/en/
---

# OrderItems: Magento Order Items

`read only` `REST`

- Catalog: `Magento`
- Schema: `Sales`
- Primary Keys: `item_id`
- Label: Order Items

Lists order items that match specified search criteria. This call returns an array of objects, but detailed information about each object’s attributes might not be included. See https://developer.adobe.com/commerce/webapi/rest/attributes#OrderItemRepositoryInterface to determine which call to use to get detailed information about all attributes for an object.

Can only retrieve data.

## Summary

Lists order items that match specified search criteria. This call returns an array of objects, but detailed information about each object’s attributes might not be included. See https://developer.adobe.com/commerce/webapi/rest/attributes#OrderItemRepositoryInterface to determine which call to use to get detailed information about all attributes for an object.

## API Source

- Endpoint: `/V1/orders/items`
- Operation: `get /V1/orders/items`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 54 |
| Full scan rows per minute | 114,833 |
| Point query rows per minute | 1,053 |
| Write rows per minute | 599 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `searchCriteria[currentPage]` | `` | [ ] |  | Current page. |
| `searchCriteria[filterGroups][0][filters][0][conditionType]` | `` | [ ] |  | Condition type |
| `searchCriteria[filterGroups][0][filters][0][field]` | `` | [ ] |  | Field |
| `searchCriteria[filterGroups][0][filters][0][value]` | `` | [ ] |  | Value |
| `searchCriteria[pageSize]` | `` | [ ] |  | Page size. |
| `searchCriteria[sortOrders][0][direction]` | `` | [ ] |  | Sorting direction. |
| `searchCriteria[sortOrders][0][field]` | `` | [ ] |  | Sorting field. |

## Table Columns

The columns of the table `OrderItems` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `additional_data` | `varchar2` | Additional Data | [ ] | filters on the platform, writable, `additional_data` | Additional data. |
| `amount_refunded` | `decimal` | Amount Refunded | [ ] | filters on the platform, writable, `amount_refunded` | Amount refunded. |
| `applied_rule_ids` | `varchar2` | Applied Rule IDs | [ ] | filters on the platform, writable, `applied_rule_ids` | Applied rule IDs. |
| `base_amount_refunded` | `decimal` | Base Amount Refunded | [ ] | filters on the platform, writable, `base_amount_refunded` | Base amount refunded. |
| `base_cost` | `decimal` | Base Cost | [ ] | filters on the platform, writable, `base_cost` | Base cost. |
| `base_discount_amount` | `decimal` | Base Discount Amount | [ ] | filters on the platform, writable, `base_discount_amount` | Base discount amount. |
| `base_discount_invoiced` | `decimal` | Base Discount Invoiced | [ ] | filters on the platform, writable, `base_discount_invoiced` | Base discount invoiced. |
| `base_discount_refunded` | `decimal` | Base Discount Refunded | [ ] | filters on the platform, writable, `base_discount_refunded` | Base discount refunded. |
| `base_discount_tax_compensation_amount` | `decimal` | Base Discount Tax Compensation Amount | [ ] | filters on the platform, writable, `base_discount_tax_compensation_amount` | Base discount tax compensation amount. |
| `base_discount_tax_compensation_invoiced` | `decimal` | Base Discount Tax Compensation Invoiced | [ ] | filters on the platform, writable, `base_discount_tax_compensation_invoiced` | Base discount tax compensation invoiced. |
| `base_discount_tax_compensation_refunded` | `decimal` | Base Discount Tax Compensation Refunded | [ ] | filters on the platform, writable, `base_discount_tax_compensation_refunded` | Base discount tax compensation refunded. |
| `base_original_price` | `decimal` | Base Original Price | [ ] | filters on the platform, writable, `base_original_price` | Base original price. |
| `base_price` | `decimal` | Base Price | [ ] | filters on the platform, writable, `base_price` | Base price. |
| `base_price_incl_tax` | `decimal` | Base Price Including Tax | [ ] | filters on the platform, writable, `base_price_incl_tax` | Base price including tax. |
| `base_row_invoiced` | `decimal` | Base Row Invoiced | [ ] | filters on the platform, writable, `base_row_invoiced` | Base row invoiced. |
| `base_row_total` | `decimal` | Base Row Total | [ ] | filters on the platform, writable, `base_row_total` | Base row total. |
| `base_row_total_incl_tax` | `decimal` | Base Row Total Including Tax | [ ] | filters on the platform, writable, `base_row_total_incl_tax` | Base row total including tax. |
| `base_tax_amount` | `decimal` | Base Tax Amount | [ ] | filters on the platform, writable, `base_tax_amount` | Base tax amount. |
| `base_tax_before_discount` | `decimal` | Base Tax Before Discount | [ ] | filters on the platform, writable, `base_tax_before_discount` | Base tax before discount. |
| `base_tax_invoiced` | `decimal` | Base Tax Invoiced | [ ] | filters on the platform, writable, `base_tax_invoiced` | Base tax invoiced. |
| `base_tax_refunded` | `decimal` | Base Tax Refunded | [ ] | filters on the platform, writable, `base_tax_refunded` | Base tax refunded. |
| `base_weee_tax_applied_amount` | `decimal` | Base WEEE Tax Applied Amount | [ ] | filters on the platform, writable, `base_weee_tax_applied_amount` | Base WEEE tax applied amount. |
| `base_weee_tax_applied_row_amnt` | `decimal` | Base WEEE Tax Applied Row Amount | [ ] | filters on the platform, writable, `base_weee_tax_applied_row_amnt` | Base WEEE tax applied row amount. |
| `base_weee_tax_disposition` | `decimal` | Base WEEE Tax Disposition | [ ] | filters on the platform, writable, `base_weee_tax_disposition` | Base WEEE tax disposition. |
| `base_weee_tax_row_disposition` | `decimal` | Base WEEE Tax Row Disposition | [ ] | filters on the platform, writable, `base_weee_tax_row_disposition` | Base WEEE tax row disposition. |
| `created_at` | `varchar2` | Created At | [ ] | filters on the platform, writable, `created_at` | Created-at timestamp. |
| `description` | `varchar2` | Description | [ ] | filters on the platform, writable, `description` | Description. |
| `discount_amount` | `decimal` | Discount Amount | [ ] | filters on the platform, writable, `discount_amount` | Discount amount. |
| `discount_invoiced` | `decimal` | Discount Invoiced | [ ] | filters on the platform, writable, `discount_invoiced` | Discount invoiced. |
| `discount_percent` | `decimal` | Discount Percent | [ ] | filters on the platform, writable, `discount_percent` | Discount percent. |
| `discount_refunded` | `decimal` | Discount Refunded | [ ] | filters on the platform, writable, `discount_refunded` | Discount refunded. |
| `discount_tax_compensation_amount` | `decimal` | Discount Tax Compensation Amount | [ ] | filters on the platform, writable, `discount_tax_compensation_amount` | Discount tax compensation amount. |
| `discount_tax_compensation_canceled` | `decimal` | Discount Tax Compensation Canceled | [ ] | filters on the platform, writable, `discount_tax_compensation_canceled` | Discount tax compensation canceled. |
| `discount_tax_compensation_invoiced` | `decimal` | Discount Tax Compensation Invoiced | [ ] | filters on the platform, writable, `discount_tax_compensation_invoiced` | Discount tax compensation invoiced. |
| `discount_tax_compensation_refunded` | `decimal` | Discount Tax Compensation Refunded | [ ] | filters on the platform, writable, `discount_tax_compensation_refunded` | Discount tax compensation refunded. |
| `event_id` | `int64` | Event ID | [ ] | filters on the platform, writable, `event_id` | Event ID. |
| `ext_order_item_id` | `varchar2` | External Order Item ID | [ ] | filters on the platform, writable, `ext_order_item_id` | External order item ID. |
| `extension_attributes_gift_message_customer_id` | `int64` | Extension Attributes Gift Message Customer ID | [ ] | filters on the platform, writable, `extension_attributes.gift_message.customer_id` | Customer ID. Otherwise, null. |
| `extension_attributes_gift_message_extension_attributes_entity_id` | `varchar2` | Extension Attributes Gift Message Extension Attributes Entity ID | [ ] | filters on the platform, writable, `extension_attributes.gift_message.extension_attributes.entity_id` |  |
| `extension_attributes_gift_message_extension_attributes_entity_type` | `varchar2` | Extension Attributes Gift Message Extension Attributes Entity Type | [ ] | filters on the platform, writable, `extension_attributes.gift_message.extension_attributes.entity_type` |  |
| `extension_attributes_gift_message_gift_message_id` | `int64` | Extension Attributes Gift Message Gift Message ID | [ ] | filters on the platform, writable, `extension_attributes.gift_message.gift_message_id` | Gift message ID. Otherwise, null. |
| `extension_attributes_gift_message_message` | `varchar2` | Extension Attributes Gift Message Message | [ ] | filters on the platform, writable, `extension_attributes.gift_message.message` | Message text. |
| `extension_attributes_gift_message_recipient` | `varchar2` | Extension Attributes Gift Message Recipient | [ ] | filters on the platform, writable, `extension_attributes.gift_message.recipient` | Recipient name. |
| `extension_attributes_gift_message_sender` | `varchar2` | Extension Attributes Gift Message Sender | [ ] | filters on the platform, writable, `extension_attributes.gift_message.sender` | Sender name. |
| `free_shipping` | `int64` | Free Shipping | [ ] | filters on the platform, writable, `free_shipping` | Free-shipping flag value. |
| `gw_base_price` | `decimal` | Gift Wrap Base Price | [ ] | filters on the platform, writable, `gw_base_price` | GW base price. |
| `gw_base_price_invoiced` | `decimal` | Gift Wrap Base Price Invoiced | [ ] | filters on the platform, writable, `gw_base_price_invoiced` | GW base price invoiced. |
| `gw_base_price_refunded` | `decimal` | Gift Wrap Base Price Refunded | [ ] | filters on the platform, writable, `gw_base_price_refunded` | GW base price refunded. |
| `gw_base_tax_amount` | `decimal` | Gift Wrap Base Tax Amount | [ ] | filters on the platform, writable, `gw_base_tax_amount` | GW base tax amount. |
| `gw_base_tax_amount_invoiced` | `decimal` | Gift Wrap Base Tax Amount Invoiced | [ ] | filters on the platform, writable, `gw_base_tax_amount_invoiced` | GW base tax amount invoiced. |
| `gw_base_tax_amount_refunded` | `decimal` | Gift Wrap Base Tax Amount Refunded | [ ] | filters on the platform, writable, `gw_base_tax_amount_refunded` | GW base tax amount refunded. |
| `gw_id` | `int64` | Gift Wrap ID | [ ] | filters on the platform, writable, `gw_id` | GW ID. |
| `gw_price` | `decimal` | Gift Wrap Price | [ ] | filters on the platform, writable, `gw_price` | GW price. |
| `gw_price_invoiced` | `decimal` | Gift Wrap Price Invoiced | [ ] | filters on the platform, writable, `gw_price_invoiced` | GW price invoiced. |
| `gw_price_refunded` | `decimal` | Gift Wrap Price Refunded | [ ] | filters on the platform, writable, `gw_price_refunded` | GW price refunded. |
| `gw_tax_amount` | `decimal` | Gift Wrap Tax Amount | [ ] | filters on the platform, writable, `gw_tax_amount` | GW tax amount. |
| `gw_tax_amount_invoiced` | `decimal` | Gift Wrap Tax Amount Invoiced | [ ] | filters on the platform, writable, `gw_tax_amount_invoiced` | GW tax amount invoiced. |
| `gw_tax_amount_refunded` | `decimal` | Gift Wrap Tax Amount Refunded | [ ] | filters on the platform, writable, `gw_tax_amount_refunded` | GW tax amount refunded. |
| `is_qty_decimal` | `int64` | Is Quantity Decimal | [ ] | filters on the platform, writable, `is_qty_decimal` | Is-quantity-decimal flag value. |
| `is_virtual` | `int64` | Is Virtual | [ ] | filters on the platform, writable, `is_virtual` | Is-virtual flag value. |
| `item_id` | `int64` | Item ID | [ ] | filters on the platform, writable, `item_id` | Item ID. |
| `locked_do_invoice` | `int64` | Locked Do Invoice | [ ] | filters on the platform, writable, `locked_do_invoice` | Locked DO invoice flag value. |
| `locked_do_ship` | `int64` | Locked Do Ship | [ ] | filters on the platform, writable, `locked_do_ship` | Locked DO ship flag value. |
| `name` | `varchar2` | Name | [ ] | filters on the platform, writable, `name` | Name. |
| `no_discount` | `int64` | No Discount | [ ] | filters on the platform, writable, `no_discount` | No-discount flag value. |
| `order_id` | `int64` | Order ID | [ ] | filters on the platform, writable, `order_id` | Order ID. |
| `original_price` | `decimal` | Original Price | [ ] | filters on the platform, writable, `original_price` | Original price. |
| `parent_item_id` | `int64` | Parent Item ID | [ ] | filters on the platform, writable, `parent_item_id` | Parent item ID. |
| `price` | `decimal` | Price | [ ] | filters on the platform, writable, `price` | Price. |
| `price_incl_tax` | `decimal` | Price Including Tax | [ ] | filters on the platform, writable, `price_incl_tax` | Price including tax. |
| `product_id` | `int64` | Product ID | [ ] | filters on the platform, writable, `product_id` | Product ID. |
| `product_option_extension_attributes_downloadable_option_downloadable_links` | `varchar2` | Product Option Extension Attributes Downloadable Option Downloadable Links | [ ] | writable, `product_option.extension_attributes.downloadable_option.downloadable_links` | The list of downloadable links |
| `product_type` | `varchar2` | Product Type | [ ] | filters on the platform, writable, `product_type` | Product type. |
| `qty_backordered` | `decimal` | Quantity Backordered | [ ] | filters on the platform, writable, `qty_backordered` | Quantity backordered. |
| `qty_canceled` | `decimal` | Quantity Canceled | [ ] | filters on the platform, writable, `qty_canceled` | Quantity canceled. |
| `qty_invoiced` | `decimal` | Quantity Invoiced | [ ] | filters on the platform, writable, `qty_invoiced` | Quantity invoiced. |
| `qty_ordered` | `decimal` | Quantity Ordered | [ ] | filters on the platform, writable, `qty_ordered` | Quantity ordered. |
| `qty_refunded` | `decimal` | Quantity Refunded | [ ] | filters on the platform, writable, `qty_refunded` | Quantity refunded. |
| `qty_returned` | `decimal` | Quantity Returned | [ ] | filters on the platform, writable, `qty_returned` | Quantity returned. |
| `qty_shipped` | `decimal` | Quantity Shipped | [ ] | filters on the platform, writable, `qty_shipped` | Quantity shipped. |
| `quote_item_id` | `int64` | Quote Item ID | [ ] | filters on the platform, writable, `quote_item_id` | Quote item ID. |
| `row_invoiced` | `decimal` | Row Invoiced | [ ] | filters on the platform, writable, `row_invoiced` | Row invoiced. |
| `row_total` | `decimal` | Row Total | [ ] | filters on the platform, writable, `row_total` | Row total. |
| `row_total_incl_tax` | `decimal` | Row Total Including Tax | [ ] | filters on the platform, writable, `row_total_incl_tax` | Row total including tax. |
| `row_weight` | `decimal` | Row Weight | [ ] | filters on the platform, writable, `row_weight` | Row weight. |
| `sku` | `varchar2` | SKU | [ ] | filters on the platform, writable, `sku` | SKU. |
| `store_id` | `int64` | Store ID | [ ] | filters on the platform, writable, `store_id` | Store ID. |
| `tax_amount` | `decimal` | Tax Amount | [ ] | filters on the platform, writable, `tax_amount` | Tax amount. |
| `tax_before_discount` | `decimal` | Tax Before Discount | [ ] | filters on the platform, writable, `tax_before_discount` | Tax before discount. |
| `tax_canceled` | `decimal` | Tax Canceled | [ ] | filters on the platform, writable, `tax_canceled` | Tax canceled. |
| `tax_invoiced` | `decimal` | Tax Invoiced | [ ] | filters on the platform, writable, `tax_invoiced` | Tax invoiced. |
| `tax_percent` | `decimal` | Tax Percent | [ ] | filters on the platform, writable, `tax_percent` | Tax percent. |
| `tax_refunded` | `decimal` | Tax Refunded | [ ] | filters on the platform, writable, `tax_refunded` | Tax refunded. |
| `updated_at` | `varchar2` | Updated At | [ ] | filters on the platform, writable, `updated_at` | Updated-at timestamp. |
| `weee_tax_applied` | `varchar2` | WEEE Tax Applied | [ ] | filters on the platform, writable, `weee_tax_applied` | WEEE tax applied. |
| `weee_tax_applied_amount` | `decimal` | WEEE Tax Applied Amount | [ ] | filters on the platform, writable, `weee_tax_applied_amount` | WEEE tax applied amount. |
| `weee_tax_applied_row_amount` | `decimal` | WEEE Tax Applied Row Amount | [ ] | filters on the platform, writable, `weee_tax_applied_row_amount` | WEEE tax applied row amount. |
| `weee_tax_disposition` | `decimal` | WEEE Tax Disposition | [ ] | filters on the platform, writable, `weee_tax_disposition` | WEEE tax disposition. |
| `weee_tax_row_disposition` | `decimal` | WEEE Tax Row Disposition | [ ] | filters on the platform, writable, `weee_tax_row_disposition` | WEEE tax row disposition. |
| `weight` | `decimal` | Weight | [ ] | filters on the platform, writable, `weight` | Weight. |

## Sample Queries

```sql
select itm.sku
,      itm.name
,      sum(itm.qty_ordered - itm.qty_shipped) qty_to_ship
from   Magento.Sales.OrderItems itm
join   Magento.Sales.Orders ord
on     ord.entity_id = itm.order_id
where  ord.state in ('new', 'processing')
group
by     itm.sku
,      itm.name
```

