orders/items/{id}
GET
/V1/orders/items/{id}
orders/items/{id}
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http:///V1/orders/items/'
响应示例响应示例
200 - 示例 1
{
"additional_data": "string",
"amount_refunded": 0,
"applied_rule_ids": "string",
"base_amount_refunded": 0,
"base_cost": 0,
"base_discount_amount": 0,
"base_discount_invoiced": 0,
"base_discount_refunded": 0,
"base_discount_tax_compensation_amount": 0,
"base_discount_tax_compensation_invoiced": 0,
"base_discount_tax_compensation_refunded": 0,
"base_original_price": 0,
"base_price": 0,
"base_price_incl_tax": 0,
"base_row_invoiced": 0,
"base_row_total": 0,
"base_row_total_incl_tax": 0,
"base_tax_amount": 0,
"base_tax_before_discount": 0,
"base_tax_invoiced": 0,
"base_tax_refunded": 0,
"base_weee_tax_applied_amount": 0,
"base_weee_tax_applied_row_amnt": 0,
"base_weee_tax_disposition": 0,
"base_weee_tax_row_disposition": 0,
"created_at": "string",
"description": "string",
"discount_amount": 0,
"discount_invoiced": 0,
"discount_percent": 0,
"discount_refunded": 0,
"discount_tax_compensation_amount": 0,
"discount_tax_compensation_canceled": 0,
"discount_tax_compensation_invoiced": 0,
"discount_tax_compensation_refunded": 0,
"event_id": 0,
"ext_order_item_id": "string",
"extension_attributes": {
"gift_message": {
"customer_id": 0,
"extension_attributes": {
"entity_id": "string",
"entity_type": "string",
"wrapping_add_printed_card": true,
"wrapping_allow_gift_receipt": true,
"wrapping_id": 0
},
"gift_message_id": 0,
"message": "string",
"recipient": "string",
"sender": "string"
},
"gw_base_price": "string",
"gw_base_price_invoiced": "string",
"gw_base_price_refunded": "string",
"gw_base_tax_amount": "string",
"gw_base_tax_amount_invoiced": "string",
"gw_base_tax_amount_refunded": "string",
"gw_id": "string",
"gw_price": "string",
"gw_price_invoiced": "string",
"gw_price_refunded": "string",
"gw_tax_amount": "string",
"gw_tax_amount_invoiced": "string",
"gw_tax_amount_refunded": "string",
"invoice_text_codes": [
"string"
],
"tax_codes": [
"string"
],
"vertex_tax_codes": [
"string"
]
},
"free_shipping": 0,
"gw_base_price": 0,
"gw_base_price_invoiced": 0,
"gw_base_price_refunded": 0,
"gw_base_tax_amount": 0,
"gw_base_tax_amount_invoiced": 0,
"gw_base_tax_amount_refunded": 0,
"gw_id": 0,
"gw_price": 0,
"gw_price_invoiced": 0,
"gw_price_refunded": 0,
"gw_tax_amount": 0,
"gw_tax_amount_invoiced": 0,
"gw_tax_amount_refunded": 0,
"is_qty_decimal": 0,
"is_virtual": 0,
"item_id": 0,
"locked_do_invoice": 0,
"locked_do_ship": 0,
"name": "string",
"no_discount": 0,
"order_id": 0,
"original_price": 0,
"parent_item": {},
"parent_item_id": 0,
"price": 0,
"price_incl_tax": 0,
"product_id": 0,
"product_option": {
"extension_attributes": {
"bundle_options": [
{
"extension_attributes": {},
"option_id": 0,
"option_qty": 0,
"option_selections": [
0
]
}
],
"configurable_item_options": [
{
"extension_attributes": {},
"option_id": "string",
"option_value": 0
}
],
"custom_options": [
{
"extension_attributes": {
"file_info": {
"base64_encoded_data": "string",
"name": "string",
"type": "string"
}
},
"option_id": "string",
"option_value": "string"
}
],
"downloadable_option": {
"downloadable_links": [
0
]
},
"giftcard_item_option": {
"custom_giftcard_amount": 0,
"extension_attributes": {},
"giftcard_amount": "string",
"giftcard_message": "string",
"giftcard_recipient_email": "string",
"giftcard_recipient_name": "string",
"giftcard_sender_email": "string",
"giftcard_sender_name": "string"
}
}
},
"product_type": "string",
"qty_backordered": 0,
"qty_canceled": 0,
"qty_invoiced": 0,
"qty_ordered": 0,
"qty_refunded": 0,
"qty_returned": 0,
"qty_shipped": 0,
"quote_item_id": 0,
"row_invoiced": 0,
"row_total": 0,
"row_total_incl_tax": 0,
"row_weight": 0,
"sku": "string",
"store_id": 0,
"tax_amount": 0,
"tax_before_discount": 0,
"tax_canceled": 0,
"tax_invoiced": 0,
"tax_percent": 0,
"tax_refunded": 0,
"updated_at": "string",
"weee_tax_applied": "string",
"weee_tax_applied_amount": 0,
"weee_tax_applied_row_amount": 0,
"weee_tax_disposition": 0,
"weee_tax_row_disposition": 0,
"weight": 0
}
请求参数
Path 参数
id
integer
必需