Lists order items that match specified search criteria

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://magento2.doc.winkelstraat.nl/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Magento2 MCP server": {
  "url": "https://magento2.doc.winkelstraat.nl/mcp"
}
Close
GET /V1/orders/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.

Query parameters

  • searchCriteria[filterGroups][0][filters][0][field] string

    Field

  • searchCriteria[filterGroups][0][filters][0][value] string

    Value

  • searchCriteria[filterGroups][0][filters][0][conditionType] string

    Condition type

  • searchCriteria[sortOrders][0][field] string

    Sorting field.

  • searchCriteria[sortOrders][0][direction] string

    Sorting direction.

  • searchCriteria[pageSize] integer

    Page size.

  • searchCriteria[currentPage] integer

    Current page.

Responses

  • 200 Success.

    Hide response attributes Show response attributes object
    • items array[object] Required

      Array of collection items.

      Hide items attributes Show items attributes object

      Order item interface. An order is a document that a web store issues to a customer. Magento generates a sales order that lists the product items, billing and shipping addresses, and shipping and payment methods. A corresponding external document, known as a purchase order, is emailed to the customer.

      • additional_data string

        Additional data.

      • amount_refunded number

        Amount refunded.

      • applied_rule_ids string

        Applied rule IDs.

      • base_amount_refunded number

        Base amount refunded.

      • base_cost number

        Base cost.

      • base_discount_amount number

        Base discount amount.

      • base_discount_invoiced number

        Base discount invoiced.

      • base_discount_refunded number

        Base discount refunded.

      • base_discount_tax_compensation_amount number

        Base discount tax compensation amount.

      • base_discount_tax_compensation_invoiced number

        Base discount tax compensation invoiced.

      • base_discount_tax_compensation_refunded number

        Base discount tax compensation refunded.

      • base_original_price number

        Base original price.

      • base_price number

        Base price.

      • base_price_incl_tax number

        Base price including tax.

      • base_row_invoiced number

        Base row invoiced.

      • base_row_total number

        Base row total.

      • base_row_total_incl_tax number

        Base row total including tax.

      • base_tax_amount number

        Base tax amount.

      • base_tax_before_discount number

        Base tax before discount.

      • base_tax_invoiced number

        Base tax invoiced.

      • base_tax_refunded number

        Base tax refunded.

      • base_weee_tax_applied_amount number

        Base WEEE tax applied amount.

      • base_weee_tax_applied_row_amnt number

        Base WEEE tax applied row amount.

      • base_weee_tax_disposition number

        Base WEEE tax disposition.

      • base_weee_tax_row_disposition number

        Base WEEE tax row disposition.

      • created_at string

        Created-at timestamp.

      • description string

        Description.

      • discount_amount number

        Discount amount.

      • discount_invoiced number

        Discount invoiced.

      • discount_percent number

        Discount percent.

      • discount_refunded number

        Discount refunded.

      • event_id integer

        Event ID.

      • ext_order_item_id string

        External order item ID.

      • free_shipping integer

        Free-shipping flag value.

      • gw_base_price number

        GW base price.

      • gw_base_price_invoiced number

        GW base price invoiced.

      • gw_base_price_refunded number

        GW base price refunded.

      • gw_base_tax_amount number

        GW base tax amount.

      • gw_base_tax_amount_invoiced number

        GW base tax amount invoiced.

      • gw_base_tax_amount_refunded number

        GW base tax amount refunded.

      • gw_id integer

        GW ID.

      • gw_price number

        GW price.

      • gw_price_invoiced number

        GW price invoiced.

      • gw_price_refunded number

        GW price refunded.

      • gw_tax_amount number

        GW tax amount.

      • gw_tax_amount_invoiced number

        GW tax amount invoiced.

      • gw_tax_amount_refunded number

        GW tax amount refunded.

      • discount_tax_compensation_amount number

        Discount tax compensation amount.

      • discount_tax_compensation_canceled number

        Discount tax compensation canceled.

      • discount_tax_compensation_invoiced number

        Discount tax compensation invoiced.

      • discount_tax_compensation_refunded number

        Discount tax compensation refunded.

      • is_qty_decimal integer

        Is-quantity-decimal flag value.

      • is_virtual integer

        Is-virtual flag value.

      • item_id integer

        Item ID.

      • locked_do_invoice integer

        Locked DO invoice flag value.

      • locked_do_ship integer

        Locked DO ship flag value.

      • name string

        Name.

      • no_discount integer

        No-discount flag value.

      • order_id integer

        Order ID.

      • original_price number

        Original price.

      • parent_item_id integer

        Parent item ID.

      • price number

        Price.

      • price_incl_tax number

        Price including tax.

      • product_id integer

        Product ID.

      • product_type string

        Product type.

      • qty_backordered number

        Quantity backordered.

      • qty_canceled number

        Quantity canceled.

      • qty_invoiced number

        Quantity invoiced.

      • qty_ordered number

        Quantity ordered.

      • qty_refunded number

        Quantity refunded.

      • qty_returned number

        Quantity returned.

      • qty_shipped number

        Quantity shipped.

      • quote_item_id integer

        Quote item ID.

      • row_invoiced number

        Row invoiced.

      • row_total number

        Row total.

      • row_total_incl_tax number

        Row total including tax.

      • row_weight number

        Row weight.

      • sku string Required

        SKU.

      • store_id integer

        Store ID.

      • tax_amount number

        Tax amount.

      • tax_before_discount number

        Tax before discount.

      • tax_canceled number

        Tax canceled.

      • tax_invoiced number

        Tax invoiced.

      • tax_percent number

        Tax percent.

      • tax_refunded number

        Tax refunded.

      • updated_at string

        Updated-at timestamp.

      • weee_tax_applied string

        WEEE tax applied.

      • weee_tax_applied_amount number

        WEEE tax applied amount.

      • weee_tax_applied_row_amount number

        WEEE tax applied row amount.

      • weee_tax_disposition number

        WEEE tax disposition.

      • weee_tax_row_disposition number

        WEEE tax row disposition.

      • weight number

        Weight.

      • parent_item object

        Order item interface. An order is a document that a web store issues to a customer. Magento generates a sales order that lists the product items, billing and shipping addresses, and shipping and payment methods. A corresponding external document, known as a purchase order, is emailed to the customer.

      • product_option object

        Product option interface

        Hide product_option attribute Show product_option attribute object
        • extension_attributes object

          ExtensionInterface class for @see \Magento\Catalog\Api\Data\ProductOptionInterface

          Hide extension_attributes attributes Show extension_attributes attributes object
          • custom_options array[object]
            Hide custom_options attributes Show custom_options attributes object

            Interface CustomOptionInterface

            • option_id string Required

              Option id

            • option_value string Required

              Option value

            • extension_attributes object

              ExtensionInterface class for @see \Magento\Catalog\Api\Data\CustomOptionInterface

              Hide extension_attributes attribute Show extension_attributes attribute object
              • file_info object

                Image Content data interface

                Hide file_info attributes Show file_info attributes object
                • base64_encoded_data string Required

                  Media data (base64 encoded content)

                • type string Required

                  MIME type

                • name string Required

                  Image name

          • bundle_options array[object]
            Hide bundle_options attributes Show bundle_options attributes object

            Interface BundleOptionInterface

            • option_id integer Required

              Bundle option id.

            • option_qty integer Required

              Bundle option quantity.

            • option_selections array[integer] Required

              Bundle option selection ids.

            • extension_attributes object

              ExtensionInterface class for @see \Magento\Bundle\Api\Data\BundleOptionInterface

          • downloadable_option object

            Downloadable Option

            Hide downloadable_option attribute Show downloadable_option attribute object
          • giftcard_item_option object

            Interface GiftCardOptionInterface

            Hide giftcard_item_option attributes Show giftcard_item_option attributes object
            • giftcard_amount string Required

              Gift card amount.

            • custom_giftcard_amount number

              Gift card open amount value.

            • giftcard_sender_name string Required

              Gift card sender name.

            • giftcard_recipient_name string Required

              Gift card recipient name.

            • giftcard_sender_email string Required

              Gift card sender email.

            • giftcard_recipient_email string Required

              Gift card recipient email.

            • giftcard_message string

              Giftcard message.

            • extension_attributes object

              ExtensionInterface class for @see \Magento\GiftCard\Api\Data\GiftCardOptionInterface

              Hide extension_attributes attribute Show extension_attributes attribute object
              • giftcard_created_codes array[string]
          • configurable_item_options array[object]
            Hide configurable_item_options attributes Show configurable_item_options attributes object

            Interface ConfigurableItemOptionValueInterface

            • option_id string Required

              Option SKU

            • option_value string

              Item id

            • extension_attributes object

              ExtensionInterface class for @see \Magento\ConfigurableProduct\Api\Data\ConfigurableItemOptionValueInterface

      • extension_attributes object

        ExtensionInterface class for @see \Magento\Sales\Api\Data\OrderItemInterface

        Hide extension_attributes attributes Show extension_attributes attributes object
        • itemized_taxes array[object]
          Hide itemized_taxes attributes Show itemized_taxes attributes object
          • tax_item_id integer

            Tax item ID

          • tax_id integer

            Tax ID

          • item_id integer

            Order item ID

          • tax_code string

            Tax code

          • tax_percent number Required

            Tax percent

          • amount number Required

            Tax amount

          • base_amount number Required

            Tax amount in base currency

          • real_amount number Required

            Real tax amount

          • real_base_amount number Required

            Real tax amount in base currency

          • associated_item_id integer

            Associated order item ID

          • taxable_item_type string

            shipping, product, weee, quote_gw, etc...

          • extension_attributes object

            ExtensionInterface class for @see \Magento\Tax\Api\Data\OrderTaxItemInterface

        • gift_message object

          Interface MessageInterface

          Hide gift_message attributes Show gift_message attributes object
          • gift_message_id integer

            Gift message ID. Otherwise, null.

          • customer_id integer

            Customer ID. Otherwise, null.

          • sender string Required

            Sender name.

          • recipient string Required

            Recipient name.

          • message string Required

            Message text.

          • extension_attributes object

            ExtensionInterface class for @see \Magento\GiftMessage\Api\Data\MessageInterface

            Hide extension_attributes attributes Show extension_attributes attributes object
            • entity_id string
            • entity_type string
            • wrapping_id integer
            • wrapping_allow_gift_receipt boolean
            • wrapping_add_printed_card boolean
        • gw_id string
        • gw_base_price string
        • gw_price string
        • gw_base_tax_amount string
        • gw_tax_amount string
        • gw_base_price_invoiced string
        • gw_price_invoiced string
        • gw_base_tax_amount_invoiced string
        • gw_tax_amount_invoiced string
        • gw_base_price_refunded string
        • gw_price_refunded string
        • gw_base_tax_amount_refunded string
        • gw_tax_amount_refunded string
        • list_price number
        • size string
        • color string
        • merchant_product_reference string
        • category_code string
        • image string
        • mpn string
        • msrp number
        • is_sale boolean
        • manufacturer_code string
        • manufacturer_name string
        • merchant_code string
        • merchant_name string
        • merchant_city string
        • merchant_commission_percentage number
        • merchant_deficiency_percentage number
        • merchant_handling_fee number
        • return_item_fee number
        • base_return_item_fee number
        • configurable_sku string
        • is_outlet boolean
    • search_criteria object Required

      Search criteria interface.

      Hide search_criteria attributes Show search_criteria attributes object
      • filter_groups array[object] Required

        A list of filter groups.

        Hide filter_groups attribute Show filter_groups attribute object

        Groups two or more filters together using a logical OR

        • filters array[object]

          A list of filters in this group

          Hide filters attributes Show filters attributes object

          Filter which can be used by any methods from service layer.

          • field string Required

            Field

          • value string Required

            Value

          • condition_type string

            Condition type

      • sort_orders array[object]

        Sort order.

        Hide sort_orders attributes Show sort_orders attributes object

        Data object for sort order.

        • field string Required

          Sorting field.

        • direction string Required

          Sorting direction.

      • page_size integer

        Page size.

      • current_page integer

        Current page.

    • total_count integer Required

      Total count.

    Hide response attributes Show response attributes object
    • items array[object] Required

      Array of collection items.

      Hide items attributes Show items attributes object

      Order item interface. An order is a document that a web store issues to a customer. Magento generates a sales order that lists the product items, billing and shipping addresses, and shipping and payment methods. A corresponding external document, known as a purchase order, is emailed to the customer.

      • additional_data string

        Additional data.

      • amount_refunded number

        Amount refunded.

      • applied_rule_ids string

        Applied rule IDs.

      • base_amount_refunded number

        Base amount refunded.

      • base_cost number

        Base cost.

      • base_discount_amount number

        Base discount amount.

      • base_discount_invoiced number

        Base discount invoiced.

      • base_discount_refunded number

        Base discount refunded.

      • base_discount_tax_compensation_amount number

        Base discount tax compensation amount.

      • base_discount_tax_compensation_invoiced number

        Base discount tax compensation invoiced.

      • base_discount_tax_compensation_refunded number

        Base discount tax compensation refunded.

      • base_original_price number

        Base original price.

      • base_price number

        Base price.

      • base_price_incl_tax number

        Base price including tax.

      • base_row_invoiced number

        Base row invoiced.

      • base_row_total number

        Base row total.

      • base_row_total_incl_tax number

        Base row total including tax.

      • base_tax_amount number

        Base tax amount.

      • base_tax_before_discount number

        Base tax before discount.

      • base_tax_invoiced number

        Base tax invoiced.

      • base_tax_refunded number

        Base tax refunded.

      • base_weee_tax_applied_amount number

        Base WEEE tax applied amount.

      • base_weee_tax_applied_row_amnt number

        Base WEEE tax applied row amount.

      • base_weee_tax_disposition number

        Base WEEE tax disposition.

      • base_weee_tax_row_disposition number

        Base WEEE tax row disposition.

      • created_at string

        Created-at timestamp.

      • description string

        Description.

      • discount_amount number

        Discount amount.

      • discount_invoiced number

        Discount invoiced.

      • discount_percent number

        Discount percent.

      • discount_refunded number

        Discount refunded.

      • event_id integer

        Event ID.

      • ext_order_item_id string

        External order item ID.

      • free_shipping integer

        Free-shipping flag value.

      • gw_base_price number

        GW base price.

      • gw_base_price_invoiced number

        GW base price invoiced.

      • gw_base_price_refunded number

        GW base price refunded.

      • gw_base_tax_amount number

        GW base tax amount.

      • gw_base_tax_amount_invoiced number

        GW base tax amount invoiced.

      • gw_base_tax_amount_refunded number

        GW base tax amount refunded.

      • gw_id integer

        GW ID.

      • gw_price number

        GW price.

      • gw_price_invoiced number

        GW price invoiced.

      • gw_price_refunded number

        GW price refunded.

      • gw_tax_amount number

        GW tax amount.

      • gw_tax_amount_invoiced number

        GW tax amount invoiced.

      • gw_tax_amount_refunded number

        GW tax amount refunded.

      • discount_tax_compensation_amount number

        Discount tax compensation amount.

      • discount_tax_compensation_canceled number

        Discount tax compensation canceled.

      • discount_tax_compensation_invoiced number

        Discount tax compensation invoiced.

      • discount_tax_compensation_refunded number

        Discount tax compensation refunded.

      • is_qty_decimal integer

        Is-quantity-decimal flag value.

      • is_virtual integer

        Is-virtual flag value.

      • item_id integer

        Item ID.

      • locked_do_invoice integer

        Locked DO invoice flag value.

      • locked_do_ship integer

        Locked DO ship flag value.

      • name string

        Name.

      • no_discount integer

        No-discount flag value.

      • order_id integer

        Order ID.

      • original_price number

        Original price.

      • parent_item_id integer

        Parent item ID.

      • price number

        Price.

      • price_incl_tax number

        Price including tax.

      • product_id integer

        Product ID.

      • product_type string

        Product type.

      • qty_backordered number

        Quantity backordered.

      • qty_canceled number

        Quantity canceled.

      • qty_invoiced number

        Quantity invoiced.

      • qty_ordered number

        Quantity ordered.

      • qty_refunded number

        Quantity refunded.

      • qty_returned number

        Quantity returned.

      • qty_shipped number

        Quantity shipped.

      • quote_item_id integer

        Quote item ID.

      • row_invoiced number

        Row invoiced.

      • row_total number

        Row total.

      • row_total_incl_tax number

        Row total including tax.

      • row_weight number

        Row weight.

      • sku string Required

        SKU.

      • store_id integer

        Store ID.

      • tax_amount number

        Tax amount.

      • tax_before_discount number

        Tax before discount.

      • tax_canceled number

        Tax canceled.

      • tax_invoiced number

        Tax invoiced.

      • tax_percent number

        Tax percent.

      • tax_refunded number

        Tax refunded.

      • updated_at string

        Updated-at timestamp.

      • weee_tax_applied string

        WEEE tax applied.

      • weee_tax_applied_amount number

        WEEE tax applied amount.

      • weee_tax_applied_row_amount number

        WEEE tax applied row amount.

      • weee_tax_disposition number

        WEEE tax disposition.

      • weee_tax_row_disposition number

        WEEE tax row disposition.

      • weight number

        Weight.

      • parent_item object

        Order item interface. An order is a document that a web store issues to a customer. Magento generates a sales order that lists the product items, billing and shipping addresses, and shipping and payment methods. A corresponding external document, known as a purchase order, is emailed to the customer.

      • product_option object

        Product option interface

        Hide product_option attribute Show product_option attribute object
        • extension_attributes object

          ExtensionInterface class for @see \Magento\Catalog\Api\Data\ProductOptionInterface

          Hide extension_attributes attributes Show extension_attributes attributes object
          • custom_options array[object]
            Hide custom_options attributes Show custom_options attributes object

            Interface CustomOptionInterface

            • option_id string Required

              Option id

            • option_value string Required

              Option value

            • extension_attributes object

              ExtensionInterface class for @see \Magento\Catalog\Api\Data\CustomOptionInterface

              Hide extension_attributes attribute Show extension_attributes attribute object
              • file_info object

                Image Content data interface

                Hide file_info attributes Show file_info attributes object
                • base64_encoded_data string Required

                  Media data (base64 encoded content)

                • type string Required

                  MIME type

                • name string Required

                  Image name

          • bundle_options array[object]
            Hide bundle_options attributes Show bundle_options attributes object

            Interface BundleOptionInterface

            • option_id integer Required

              Bundle option id.

            • option_qty integer Required

              Bundle option quantity.

            • option_selections array[integer] Required

              Bundle option selection ids.

            • extension_attributes object

              ExtensionInterface class for @see \Magento\Bundle\Api\Data\BundleOptionInterface

          • downloadable_option object

            Downloadable Option

            Hide downloadable_option attribute Show downloadable_option attribute object
          • giftcard_item_option object

            Interface GiftCardOptionInterface

            Hide giftcard_item_option attributes Show giftcard_item_option attributes object
            • giftcard_amount string Required

              Gift card amount.

            • custom_giftcard_amount number

              Gift card open amount value.

            • giftcard_sender_name string Required

              Gift card sender name.

            • giftcard_recipient_name string Required

              Gift card recipient name.

            • giftcard_sender_email string Required

              Gift card sender email.

            • giftcard_recipient_email string Required

              Gift card recipient email.

            • giftcard_message string

              Giftcard message.

            • extension_attributes object

              ExtensionInterface class for @see \Magento\GiftCard\Api\Data\GiftCardOptionInterface

              Hide extension_attributes attribute Show extension_attributes attribute object
              • giftcard_created_codes array[string]
          • configurable_item_options array[object]
            Hide configurable_item_options attributes Show configurable_item_options attributes object

            Interface ConfigurableItemOptionValueInterface

            • option_id string Required

              Option SKU

            • option_value string

              Item id

            • extension_attributes object

              ExtensionInterface class for @see \Magento\ConfigurableProduct\Api\Data\ConfigurableItemOptionValueInterface

      • extension_attributes object

        ExtensionInterface class for @see \Magento\Sales\Api\Data\OrderItemInterface

        Hide extension_attributes attributes Show extension_attributes attributes object
        • itemized_taxes array[object]
          Hide itemized_taxes attributes Show itemized_taxes attributes object
          • tax_item_id integer

            Tax item ID

          • tax_id integer

            Tax ID

          • item_id integer

            Order item ID

          • tax_code string

            Tax code

          • tax_percent number Required

            Tax percent

          • amount number Required

            Tax amount

          • base_amount number Required

            Tax amount in base currency

          • real_amount number Required

            Real tax amount

          • real_base_amount number Required

            Real tax amount in base currency

          • associated_item_id integer

            Associated order item ID

          • taxable_item_type string

            shipping, product, weee, quote_gw, etc...

          • extension_attributes object

            ExtensionInterface class for @see \Magento\Tax\Api\Data\OrderTaxItemInterface

        • gift_message object

          Interface MessageInterface

          Hide gift_message attributes Show gift_message attributes object
          • gift_message_id integer

            Gift message ID. Otherwise, null.

          • customer_id integer

            Customer ID. Otherwise, null.

          • sender string Required

            Sender name.

          • recipient string Required

            Recipient name.

          • message string Required

            Message text.

          • extension_attributes object

            ExtensionInterface class for @see \Magento\GiftMessage\Api\Data\MessageInterface

            Hide extension_attributes attributes Show extension_attributes attributes object
            • entity_id string
            • entity_type string
            • wrapping_id integer
            • wrapping_allow_gift_receipt boolean
            • wrapping_add_printed_card boolean
        • gw_id string
        • gw_base_price string
        • gw_price string
        • gw_base_tax_amount string
        • gw_tax_amount string
        • gw_base_price_invoiced string
        • gw_price_invoiced string
        • gw_base_tax_amount_invoiced string
        • gw_tax_amount_invoiced string
        • gw_base_price_refunded string
        • gw_price_refunded string
        • gw_base_tax_amount_refunded string
        • gw_tax_amount_refunded string
        • list_price number
        • size string
        • color string
        • merchant_product_reference string
        • category_code string
        • image string
        • mpn string
        • msrp number
        • is_sale boolean
        • manufacturer_code string
        • manufacturer_name string
        • merchant_code string
        • merchant_name string
        • merchant_city string
        • merchant_commission_percentage number
        • merchant_deficiency_percentage number
        • merchant_handling_fee number
        • return_item_fee number
        • base_return_item_fee number
        • configurable_sku string
        • is_outlet boolean
    • search_criteria object Required

      Search criteria interface.

      Hide search_criteria attributes Show search_criteria attributes object
      • filter_groups array[object] Required

        A list of filter groups.

        Hide filter_groups attribute Show filter_groups attribute object

        Groups two or more filters together using a logical OR

        • filters array[object]

          A list of filters in this group

          Hide filters attributes Show filters attributes object

          Filter which can be used by any methods from service layer.

          • field string Required

            Field

          • value string Required

            Value

          • condition_type string

            Condition type

      • sort_orders array[object]

        Sort order.

        Hide sort_orders attributes Show sort_orders attributes object

        Data object for sort order.

        • field string Required

          Sorting field.

        • direction string Required

          Sorting direction.

      • page_size integer

        Page size.

      • current_page integer

        Current page.

    • total_count integer Required

      Total count.

  • 401 Unauthorized

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Errors list

      Hide errors attributes Show errors attributes object

      Error details

      • message string

        Error message

      • parameters array[object]

        Error parameters list

        Hide parameters attributes Show parameters attributes object

        Error parameters item

        • resources string

          ACL resource

        • fieldName string

          Missing or invalid field name

        • fieldValue string

          Incorrect field value

    • code integer

      Error code

    • parameters array[object]

      Error parameters list

      Hide parameters attributes Show parameters attributes object

      Error parameters item

      • resources string

        ACL resource

      • fieldName string

        Missing or invalid field name

      • fieldValue string

        Incorrect field value

    • trace string

      Stack trace

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Errors list

      Hide errors attributes Show errors attributes object

      Error details

      • message string

        Error message

      • parameters array[object]

        Error parameters list

        Hide parameters attributes Show parameters attributes object

        Error parameters item

        • resources string

          ACL resource

        • fieldName string

          Missing or invalid field name

        • fieldValue string

          Incorrect field value

    • code integer

      Error code

    • parameters array[object]

      Error parameters list

      Hide parameters attributes Show parameters attributes object

      Error parameters item

      • resources string

        ACL resource

      • fieldName string

        Missing or invalid field name

      • fieldValue string

        Incorrect field value

    • trace string

      Stack trace

  • Unexpected error

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Errors list

      Hide errors attributes Show errors attributes object

      Error details

      • message string

        Error message

      • parameters array[object]

        Error parameters list

        Hide parameters attributes Show parameters attributes object

        Error parameters item

        • resources string

          ACL resource

        • fieldName string

          Missing or invalid field name

        • fieldValue string

          Incorrect field value

    • code integer

      Error code

    • parameters array[object]

      Error parameters list

      Hide parameters attributes Show parameters attributes object

      Error parameters item

      • resources string

        ACL resource

      • fieldName string

        Missing or invalid field name

      • fieldValue string

        Incorrect field value

    • trace string

      Stack trace

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Errors list

      Hide errors attributes Show errors attributes object

      Error details

      • message string

        Error message

      • parameters array[object]

        Error parameters list

        Hide parameters attributes Show parameters attributes object

        Error parameters item

        • resources string

          ACL resource

        • fieldName string

          Missing or invalid field name

        • fieldValue string

          Incorrect field value

    • code integer

      Error code

    • parameters array[object]

      Error parameters list

      Hide parameters attributes Show parameters attributes object

      Error parameters item

      • resources string

        ACL resource

      • fieldName string

        Missing or invalid field name

      • fieldValue string

        Incorrect field value

    • trace string

      Stack trace

GET /V1/orders/items
curl \
 --request GET 'https://magento2.winkelstraat.mac/rest/all/V1/orders/items'
Response examples (200)
{
  "items": [
    {
      "additional_data": "string",
      "amount_refunded": 42.0,
      "applied_rule_ids": "string",
      "base_amount_refunded": 42.0,
      "base_cost": 42.0,
      "base_discount_amount": 42.0,
      "base_discount_invoiced": 42.0,
      "base_discount_refunded": 42.0,
      "base_discount_tax_compensation_amount": 42.0,
      "base_discount_tax_compensation_invoiced": 42.0,
      "base_discount_tax_compensation_refunded": 42.0,
      "base_original_price": 42.0,
      "base_price": 42.0,
      "base_price_incl_tax": 42.0,
      "base_row_invoiced": 42.0,
      "base_row_total": 42.0,
      "base_row_total_incl_tax": 42.0,
      "base_tax_amount": 42.0,
      "base_tax_before_discount": 42.0,
      "base_tax_invoiced": 42.0,
      "base_tax_refunded": 42.0,
      "base_weee_tax_applied_amount": 42.0,
      "base_weee_tax_applied_row_amnt": 42.0,
      "base_weee_tax_disposition": 42.0,
      "base_weee_tax_row_disposition": 42.0,
      "created_at": "string",
      "description": "string",
      "discount_amount": 42.0,
      "discount_invoiced": 42.0,
      "discount_percent": 42.0,
      "discount_refunded": 42.0,
      "event_id": 42,
      "ext_order_item_id": "string",
      "free_shipping": 42,
      "gw_base_price": 42.0,
      "gw_base_price_invoiced": 42.0,
      "gw_base_price_refunded": 42.0,
      "gw_base_tax_amount": 42.0,
      "gw_base_tax_amount_invoiced": 42.0,
      "gw_base_tax_amount_refunded": 42.0,
      "gw_id": 42,
      "gw_price": 42.0,
      "gw_price_invoiced": 42.0,
      "gw_price_refunded": 42.0,
      "gw_tax_amount": 42.0,
      "gw_tax_amount_invoiced": 42.0,
      "gw_tax_amount_refunded": 42.0,
      "discount_tax_compensation_amount": 42.0,
      "discount_tax_compensation_canceled": 42.0,
      "discount_tax_compensation_invoiced": 42.0,
      "discount_tax_compensation_refunded": 42.0,
      "is_qty_decimal": 42,
      "is_virtual": 42,
      "item_id": 42,
      "locked_do_invoice": 42,
      "locked_do_ship": 42,
      "name": "string",
      "no_discount": 42,
      "order_id": 42,
      "original_price": 42.0,
      "parent_item_id": 42,
      "price": 42.0,
      "price_incl_tax": 42.0,
      "product_id": 42,
      "product_type": "string",
      "qty_backordered": 42.0,
      "qty_canceled": 42.0,
      "qty_invoiced": 42.0,
      "qty_ordered": 42.0,
      "qty_refunded": 42.0,
      "qty_returned": 42.0,
      "qty_shipped": 42.0,
      "quote_item_id": 42,
      "row_invoiced": 42.0,
      "row_total": 42.0,
      "row_total_incl_tax": 42.0,
      "row_weight": 42.0,
      "sku": "string",
      "store_id": 42,
      "tax_amount": 42.0,
      "tax_before_discount": 42.0,
      "tax_canceled": 42.0,
      "tax_invoiced": 42.0,
      "tax_percent": 42.0,
      "tax_refunded": 42.0,
      "updated_at": "string",
      "weee_tax_applied": "string",
      "weee_tax_applied_amount": 42.0,
      "weee_tax_applied_row_amount": 42.0,
      "weee_tax_disposition": 42.0,
      "weee_tax_row_disposition": 42.0,
      "weight": 42.0,
      "parent_item": {},
      "product_option": {
        "extension_attributes": {
          "custom_options": [
            {
              "option_id": "string",
              "option_value": "string",
              "extension_attributes": {
                "file_info": {
                  "base64_encoded_data": "string",
                  "type": "string",
                  "name": "string"
                }
              }
            }
          ],
          "bundle_options": [
            {
              "option_id": 42,
              "option_qty": 42,
              "option_selections": [
                42
              ],
              "extension_attributes": {}
            }
          ],
          "downloadable_option": {
            "downloadable_links": [
              42
            ]
          },
          "giftcard_item_option": {
            "giftcard_amount": "string",
            "custom_giftcard_amount": 42.0,
            "giftcard_sender_name": "string",
            "giftcard_recipient_name": "string",
            "giftcard_sender_email": "string",
            "giftcard_recipient_email": "string",
            "giftcard_message": "string",
            "extension_attributes": {
              "giftcard_created_codes": [
                "string"
              ]
            }
          },
          "configurable_item_options": [
            {
              "option_id": "string",
              "option_value": "string",
              "extension_attributes": {}
            }
          ]
        }
      },
      "extension_attributes": {
        "itemized_taxes": [
          {
            "tax_item_id": 42,
            "tax_id": 42,
            "item_id": 42,
            "tax_code": "string",
            "tax_percent": 42.0,
            "amount": 42.0,
            "base_amount": 42.0,
            "real_amount": 42.0,
            "real_base_amount": 42.0,
            "associated_item_id": 42,
            "taxable_item_type": "string",
            "extension_attributes": {}
          }
        ],
        "gift_message": {
          "gift_message_id": 42,
          "customer_id": 42,
          "sender": "string",
          "recipient": "string",
          "message": "string",
          "extension_attributes": {
            "entity_id": "string",
            "entity_type": "string",
            "wrapping_id": 42,
            "wrapping_allow_gift_receipt": true,
            "wrapping_add_printed_card": true
          }
        },
        "gw_id": "string",
        "gw_base_price": "string",
        "gw_price": "string",
        "gw_base_tax_amount": "string",
        "gw_tax_amount": "string",
        "gw_base_price_invoiced": "string",
        "gw_price_invoiced": "string",
        "gw_base_tax_amount_invoiced": "string",
        "gw_tax_amount_invoiced": "string",
        "gw_base_price_refunded": "string",
        "gw_price_refunded": "string",
        "gw_base_tax_amount_refunded": "string",
        "gw_tax_amount_refunded": "string",
        "list_price": 42.0,
        "size": "string",
        "color": "string",
        "merchant_product_reference": "string",
        "category_code": "string",
        "image": "string",
        "mpn": "string",
        "msrp": 42.0,
        "is_sale": true,
        "manufacturer_code": "string",
        "manufacturer_name": "string",
        "merchant_code": "string",
        "merchant_name": "string",
        "merchant_city": "string",
        "merchant_commission_percentage": 42.0,
        "merchant_deficiency_percentage": 42.0,
        "merchant_handling_fee": 42.0,
        "return_item_fee": 42.0,
        "base_return_item_fee": 42.0,
        "configurable_sku": "string",
        "is_outlet": true
      }
    }
  ],
  "search_criteria": {
    "filter_groups": [
      {
        "filters": [
          {
            "field": "string",
            "value": "string",
            "condition_type": "string"
          }
        ]
      }
    ],
    "sort_orders": [
      {
        "field": "string",
        "direction": "string"
      }
    ],
    "page_size": 42,
    "current_page": 42
  },
  "total_count": 42
}
Response examples (200)
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <items type="array">
    <item>
      <additional-data>string</additional-data>
      <amount-refunded type="float">42.0</amount-refunded>
      <applied-rule-ids>string</applied-rule-ids>
      <base-amount-refunded type="float">42.0</base-amount-refunded>
      <base-cost type="float">42.0</base-cost>
      <base-discount-amount type="float">42.0</base-discount-amount>
      <base-discount-invoiced type="float">42.0</base-discount-invoiced>
      <base-discount-refunded type="float">42.0</base-discount-refunded>
      <base-discount-tax-compensation-amount type="float">42.0</base-discount-tax-compensation-amount>
      <base-discount-tax-compensation-invoiced type="float">42.0</base-discount-tax-compensation-invoiced>
      <base-discount-tax-compensation-refunded type="float">42.0</base-discount-tax-compensation-refunded>
      <base-original-price type="float">42.0</base-original-price>
      <base-price type="float">42.0</base-price>
      <base-price-incl-tax type="float">42.0</base-price-incl-tax>
      <base-row-invoiced type="float">42.0</base-row-invoiced>
      <base-row-total type="float">42.0</base-row-total>
      <base-row-total-incl-tax type="float">42.0</base-row-total-incl-tax>
      <base-tax-amount type="float">42.0</base-tax-amount>
      <base-tax-before-discount type="float">42.0</base-tax-before-discount>
      <base-tax-invoiced type="float">42.0</base-tax-invoiced>
      <base-tax-refunded type="float">42.0</base-tax-refunded>
      <base-weee-tax-applied-amount type="float">42.0</base-weee-tax-applied-amount>
      <base-weee-tax-applied-row-amnt type="float">42.0</base-weee-tax-applied-row-amnt>
      <base-weee-tax-disposition type="float">42.0</base-weee-tax-disposition>
      <base-weee-tax-row-disposition type="float">42.0</base-weee-tax-row-disposition>
      <created-at>string</created-at>
      <description>string</description>
      <discount-amount type="float">42.0</discount-amount>
      <discount-invoiced type="float">42.0</discount-invoiced>
      <discount-percent type="float">42.0</discount-percent>
      <discount-refunded type="float">42.0</discount-refunded>
      <event-id type="integer">42</event-id>
      <ext-order-item-id>string</ext-order-item-id>
      <free-shipping type="integer">42</free-shipping>
      <gw-base-price type="float">42.0</gw-base-price>
      <gw-base-price-invoiced type="float">42.0</gw-base-price-invoiced>
      <gw-base-price-refunded type="float">42.0</gw-base-price-refunded>
      <gw-base-tax-amount type="float">42.0</gw-base-tax-amount>
      <gw-base-tax-amount-invoiced type="float">42.0</gw-base-tax-amount-invoiced>
      <gw-base-tax-amount-refunded type="float">42.0</gw-base-tax-amount-refunded>
      <gw-id type="integer">42</gw-id>
      <gw-price type="float">42.0</gw-price>
      <gw-price-invoiced type="float">42.0</gw-price-invoiced>
      <gw-price-refunded type="float">42.0</gw-price-refunded>
      <gw-tax-amount type="float">42.0</gw-tax-amount>
      <gw-tax-amount-invoiced type="float">42.0</gw-tax-amount-invoiced>
      <gw-tax-amount-refunded type="float">42.0</gw-tax-amount-refunded>
      <discount-tax-compensation-amount type="float">42.0</discount-tax-compensation-amount>
      <discount-tax-compensation-canceled type="float">42.0</discount-tax-compensation-canceled>
      <discount-tax-compensation-invoiced type="float">42.0</discount-tax-compensation-invoiced>
      <discount-tax-compensation-refunded type="float">42.0</discount-tax-compensation-refunded>
      <is-qty-decimal type="integer">42</is-qty-decimal>
      <is-virtual type="integer">42</is-virtual>
      <item-id type="integer">42</item-id>
      <locked-do-invoice type="integer">42</locked-do-invoice>
      <locked-do-ship type="integer">42</locked-do-ship>
      <name>string</name>
      <no-discount type="integer">42</no-discount>
      <order-id type="integer">42</order-id>
      <original-price type="float">42.0</original-price>
      <parent-item-id type="integer">42</parent-item-id>
      <price type="float">42.0</price>
      <price-incl-tax type="float">42.0</price-incl-tax>
      <product-id type="integer">42</product-id>
      <product-type>string</product-type>
      <qty-backordered type="float">42.0</qty-backordered>
      <qty-canceled type="float">42.0</qty-canceled>
      <qty-invoiced type="float">42.0</qty-invoiced>
      <qty-ordered type="float">42.0</qty-ordered>
      <qty-refunded type="float">42.0</qty-refunded>
      <qty-returned type="float">42.0</qty-returned>
      <qty-shipped type="float">42.0</qty-shipped>
      <quote-item-id type="integer">42</quote-item-id>
      <row-invoiced type="float">42.0</row-invoiced>
      <row-total type="float">42.0</row-total>
      <row-total-incl-tax type="float">42.0</row-total-incl-tax>
      <row-weight type="float">42.0</row-weight>
      <sku>string</sku>
      <store-id type="integer">42</store-id>
      <tax-amount type="float">42.0</tax-amount>
      <tax-before-discount type="float">42.0</tax-before-discount>
      <tax-canceled type="float">42.0</tax-canceled>
      <tax-invoiced type="float">42.0</tax-invoiced>
      <tax-percent type="float">42.0</tax-percent>
      <tax-refunded type="float">42.0</tax-refunded>
      <updated-at>string</updated-at>
      <weee-tax-applied>string</weee-tax-applied>
      <weee-tax-applied-amount type="float">42.0</weee-tax-applied-amount>
      <weee-tax-applied-row-amount type="float">42.0</weee-tax-applied-row-amount>
      <weee-tax-disposition type="float">42.0</weee-tax-disposition>
      <weee-tax-row-disposition type="float">42.0</weee-tax-row-disposition>
      <weight type="float">42.0</weight>
      <parent-item>
      </parent-item>
      <product-option>
        <extension-attributes>
          <custom-options type="array">
            <custom-option>
              <option-id>string</option-id>
              <option-value>string</option-value>
              <extension-attributes>
                <file-info>
                  <base64-encoded-data>string</base64-encoded-data>
                  <type>string</type>
                  <name>string</name>
                </file-info>
              </extension-attributes>
            </custom-option>
          </custom-options>
          <bundle-options type="array">
            <bundle-option>
              <option-id type="integer">42</option-id>
              <option-qty type="integer">42</option-qty>
              <option-selections type="array">
                <option-selection type="integer">42</option-selection>
              </option-selections>
              <extension-attributes>
              </extension-attributes>
            </bundle-option>
          </bundle-options>
          <downloadable-option>
            <downloadable-links type="array">
              <downloadable-link type="integer">42</downloadable-link>
            </downloadable-links>
          </downloadable-option>
          <giftcard-item-option>
            <giftcard-amount>string</giftcard-amount>
            <custom-giftcard-amount type="float">42.0</custom-giftcard-amount>
            <giftcard-sender-name>string</giftcard-sender-name>
            <giftcard-recipient-name>string</giftcard-recipient-name>
            <giftcard-sender-email>string</giftcard-sender-email>
            <giftcard-recipient-email>string</giftcard-recipient-email>
            <giftcard-message>string</giftcard-message>
            <extension-attributes>
              <giftcard-created-codes type="array">
                <giftcard-created-code>string</giftcard-created-code>
              </giftcard-created-codes>
            </extension-attributes>
          </giftcard-item-option>
          <configurable-item-options type="array">
            <configurable-item-option>
              <option-id>string</option-id>
              <option-value>string</option-value>
              <extension-attributes>
              </extension-attributes>
            </configurable-item-option>
          </configurable-item-options>
        </extension-attributes>
      </product-option>
      <extension-attributes>
        <itemized-taxes type="array">
          <itemized-tax>
            <tax-item-id type="integer">42</tax-item-id>
            <tax-id type="integer">42</tax-id>
            <item-id type="integer">42</item-id>
            <tax-code>string</tax-code>
            <tax-percent type="float">42.0</tax-percent>
            <amount type="float">42.0</amount>
            <base-amount type="float">42.0</base-amount>
            <real-amount type="float">42.0</real-amount>
            <real-base-amount type="float">42.0</real-base-amount>
            <associated-item-id type="integer">42</associated-item-id>
            <taxable-item-type>string</taxable-item-type>
            <extension-attributes>
            </extension-attributes>
          </itemized-tax>
        </itemized-taxes>
        <gift-message>
          <gift-message-id type="integer">42</gift-message-id>
          <customer-id type="integer">42</customer-id>
          <sender>string</sender>
          <recipient>string</recipient>
          <message>string</message>
          <extension-attributes>
            <entity-id>string</entity-id>
            <entity-type>string</entity-type>
            <wrapping-id type="integer">42</wrapping-id>
            <wrapping-allow-gift-receipt type="boolean">true</wrapping-allow-gift-receipt>
            <wrapping-add-printed-card type="boolean">true</wrapping-add-printed-card>
          </extension-attributes>
        </gift-message>
        <gw-id>string</gw-id>
        <gw-base-price>string</gw-base-price>
        <gw-price>string</gw-price>
        <gw-base-tax-amount>string</gw-base-tax-amount>
        <gw-tax-amount>string</gw-tax-amount>
        <gw-base-price-invoiced>string</gw-base-price-invoiced>
        <gw-price-invoiced>string</gw-price-invoiced>
        <gw-base-tax-amount-invoiced>string</gw-base-tax-amount-invoiced>
        <gw-tax-amount-invoiced>string</gw-tax-amount-invoiced>
        <gw-base-price-refunded>string</gw-base-price-refunded>
        <gw-price-refunded>string</gw-price-refunded>
        <gw-base-tax-amount-refunded>string</gw-base-tax-amount-refunded>
        <gw-tax-amount-refunded>string</gw-tax-amount-refunded>
        <list-price type="float">42.0</list-price>
        <size>string</size>
        <color>string</color>
        <merchant-product-reference>string</merchant-product-reference>
        <category-code>string</category-code>
        <image>string</image>
        <mpn>string</mpn>
        <msrp type="float">42.0</msrp>
        <is-sale type="boolean">true</is-sale>
        <manufacturer-code>string</manufacturer-code>
        <manufacturer-name>string</manufacturer-name>
        <merchant-code>string</merchant-code>
        <merchant-name>string</merchant-name>
        <merchant-city>string</merchant-city>
        <merchant-commission-percentage type="float">42.0</merchant-commission-percentage>
        <merchant-deficiency-percentage type="float">42.0</merchant-deficiency-percentage>
        <merchant-handling-fee type="float">42.0</merchant-handling-fee>
        <return-item-fee type="float">42.0</return-item-fee>
        <base-return-item-fee type="float">42.0</base-return-item-fee>
        <configurable-sku>string</configurable-sku>
        <is-outlet type="boolean">true</is-outlet>
      </extension-attributes>
    </item>
  </items>
  <search-criteria>
    <filter-groups type="array">
      <filter-group>
        <filters type="array">
          <filter>
            <field>string</field>
            <value>string</value>
            <condition-type>string</condition-type>
          </filter>
        </filters>
      </filter-group>
    </filter-groups>
    <sort-orders type="array">
      <sort-order>
        <field>string</field>
        <direction>string</direction>
      </sort-order>
    </sort-orders>
    <page-size type="integer">42</page-size>
    <current-page type="integer">42</current-page>
  </search-criteria>
  <total-count type="integer">42</total-count>
</root>
Response examples (401)
{
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 42,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}
Response examples (401)
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <message>string</message>
  <errors type="array">
    <error>
      <message>string</message>
      <parameters type="array">
        <parameter>
          <resources>string</resources>
          <fieldName>string</fieldName>
          <fieldValue>string</fieldValue>
        </parameter>
      </parameters>
    </error>
  </errors>
  <code type="integer">42</code>
  <parameters type="array">
    <parameter>
      <resources>string</resources>
      <fieldName>string</fieldName>
      <fieldValue>string</fieldValue>
    </parameter>
  </parameters>
  <trace>string</trace>
</root>
Response examples (default)
{
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 42,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}
Response examples (default)
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <message>string</message>
  <errors type="array">
    <error>
      <message>string</message>
      <parameters type="array">
        <parameter>
          <resources>string</resources>
          <fieldName>string</fieldName>
          <fieldValue>string</fieldValue>
        </parameter>
      </parameters>
    </error>
  </errors>
  <code type="integer">42</code>
  <parameters type="array">
    <parameter>
      <resources>string</resources>
      <fieldName>string</fieldName>
      <fieldValue>string</fieldValue>
    </parameter>
  </parameters>
  <trace>string</trace>
</root>