Loads a specified order item

GET /V1/orders/items/{id}

Loads a specified order item.

Path parameters

  • id integer Required

    The order item ID.

Responses

GET /V1/orders/items/{id}
curl \
 -X GET https://magento2.winkelstraat.mac/rest/all/V1/orders/items/{id}
Response examples (200)
{
  "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
  }
}
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 (default)
{
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 42,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}