GET
/V1/orders/items/{id}
curl \
--request 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 (200)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<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>
</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>