注文の詳細
GET /orders/{ORDER_ID}
特定の注文の詳細情報を取得するには、/api/orders/{ORDER_ID}に対してGETを送信します。 {ORDER_ID}は、注文のIDです。
PATH パラメータ
Name
Type
説明
ORDER_ID
integer
注文のID
リクエスト:ヘッダー
Name
Value
Content-Type
application/json
Authorization
Basic <認証情報>
レスポンス
{
"order_id": "89",
"is_parent_order": "N",
"parent_order_id": "0",
"company_id": "1",
"issuer_id": null,
"user_id": "3",
"total": "2994.86",
"subtotal": 2994.86,
"discount": 0,
"subtotal_discount": 0,
"payment_surcharge": 0,
"shipping_ids": "",
"shipping_cost": "0.00",
"timestamp": "1384931643",
"status": "O",
"notes": "",
"details": "",
"promotions": [],
"promotion_ids": "",
"firstname": "Customer",
"lastname": "Customer",
"company": "",
"b_firstname": "Customer",
"b_lastname": "Customer",
"b_address": "44 Main street",
"b_address_2": "",
"b_city": "Boston",
"b_county": "",
"b_state": "MA",
"b_country": "US",
"b_zipcode": "02134",
"b_phone": "",
"s_firstname": "Customer",
"s_lastname": "Customer",
"s_address": "44 Main street",
"s_address_2": "",
"s_city": "Boston",
"s_county": "",
"s_state": "MA",
"s_country": "US",
"s_zipcode": "02134",
"s_phone": "",
"s_address_type": "",
"phone": "",
"fax": "",
"url": "",
"email": "[email protected]",
"payment_id": "2",
"tax_exempt": "N",
"lang_code": "ja",
"ip_address": "127.0.0.1",
"repaid": "0",
"validation_code": "",
"localization_id": "0",
"profile_id": "2",
"payment_method": {
"payment_id": "2",
"company_id": "1",
"usergroup_ids": "0",
"position": "20",
"status": "D",
"template": "views/orders/components/payments/phone.tpl",
"processor_id": "0",
"a_surcharge": "0.000",
"p_surcharge": "0.000",
"tax_ids": [],
"localization": "",
"payment_category": "tab3",
"payment": "電話注文",
"description": "ご注文用電話番号: 5555555",
"instructions": "<p>この支払方法に関する指示を入力してください</p>",
"surcharge_title": "",
"lang_code": "ja",
"processor": null,
"processor_type": null,
"processor_status": null,
"image": []
},
"fields": [],
"products": {
"1792750741": {
"item_id": "1792750741",
"order_id": "89",
"product_id": "229",
"product_code": "V0229W5J8F",
"price": "299.99",
"amount": "1",
"extra": {
"product_options": [],
"unlimited_download": "N",
"product": "HP 2711x 27\" LED Monitor",
"company_id": "1",
"is_edp": "N",
"edp_shipping": "N",
"discount": 0,
"base_price": 299.99,
"stored_price": "N"
},
"product": "HP - 2711x27インチワイド LED液晶モニター",
"product_status": "A",
"deleted_product": false,
"discount": 0,
"company_id": "1",
"base_price": 299.99,
"original_price": 299.99,
"cart_id": "1792750741",
"tax_value": 0,
"subtotal": 299.99,
"display_subtotal": 299.99,
"shipped_amount": 0,
"shipment_amount": "1",
"is_accessible": true,
"shared_product": false,
"variation_features": []
},
"2366072709": {
"item_id": "2366072709",
"order_id": "89",
"product_id": "9",
"product_code": "F0009ORD06",
"price": "999.99",
"amount": "1",
"extra": {
"product_options": [],
"unlimited_download": "N",
"product": "Toshiba 42TL515U 42\" Class 1080P 3D LED HD TV",
"company_id": "1",
"is_edp": "N",
"edp_shipping": "N",
"discount": 0,
"base_price": 999.99,
"stored_price": "N"
},
"product": "東芝 - 42TL515U 42インチ LED フルHD TV",
"product_status": "A",
"deleted_product": false,
"discount": 0,
"company_id": "1",
"base_price": 999.99,
"original_price": 999.99,
"cart_id": "2366072709",
"tax_value": 0,
"subtotal": 999.99,
"display_subtotal": 999.99,
"shipped_amount": 0,
"shipment_amount": "1",
"is_accessible": true,
"shared_product": false,
"variation_features": []
},
"2473281379": {
"item_id": "2473281379",
"order_id": "89",
"product_id": "30",
"product_code": "H00305TUE7",
"price": "349.95",
"amount": "1",
"extra": {
"product_options": [],
"unlimited_download": "N",
"product": "GO 2535 TM WTE",
"company_id": "1",
"is_edp": "N",
"edp_shipping": "N",
"discount": 0,
"base_price": 349.95,
"stored_price": "N"
},
"product": "TomTom - GO 2535 TM WTE",
"product_status": "A",
"deleted_product": false,
"discount": 0,
"company_id": "1",
"base_price": 349.95,
"original_price": 349.95,
"cart_id": "2473281379",
"tax_value": 0,
"subtotal": 349.95,
"display_subtotal": 349.95,
"shipped_amount": 0,
"shipment_amount": "1",
"is_accessible": true,
"shared_product": false,
"variation_features": []
},
"3864289797": {
"item_id": "3864289797",
"order_id": "89",
"product_id": "132",
"product_code": "S0132PANHE",
"price": "269.99",
"amount": "1",
"extra": {
"product_options": [],
"unlimited_download": "N",
"product": "Samsung Galaxy Player 5.0",
"company_id": "1",
"is_edp": "N",
"edp_shipping": "N",
"discount": 0,
"base_price": 269.99,
"stored_price": "N"
},
"product": "サムスン - Galaxy S WiFi 5.0",
"product_status": "A",
"deleted_product": false,
"discount": 0,
"company_id": "1",
"base_price": 269.99,
"original_price": 269.99,
"cart_id": "3864289797",
"tax_value": 0,
"subtotal": 269.99,
"display_subtotal": 269.99,
"shipped_amount": 0,
"shipment_amount": "1",
"is_accessible": true,
"shared_product": false,
"variation_features": []
},
"3947455183": {
"item_id": "3947455183",
"order_id": "89",
"product_id": "167",
"product_code": "H0167T7K2E",
"price": "549.95",
"amount": "1",
"extra": {
"product_options": [],
"unlimited_download": "N",
"product": "D3100 + 18-55 VR Lens Kit",
"company_id": "1",
"is_edp": "N",
"edp_shipping": "N",
"discount": 0,
"base_price": 549.95,
"stored_price": "N"
},
"product": "Nikon - D3100 18-55VR レンズキット",
"product_status": "A",
"deleted_product": false,
"discount": 0,
"company_id": "1",
"base_price": 549.95,
"original_price": 549.95,
"cart_id": "3947455183",
"tax_value": 0,
"subtotal": 549.95,
"display_subtotal": 549.95,
"shipped_amount": 0,
"shipment_amount": "1",
"is_accessible": true,
"shared_product": false,
"variation_features": []
},
"4033496702": {
"item_id": "4033496702",
"order_id": "89",
"product_id": "74",
"product_code": "S0074AE6U7",
"price": "524.99",
"amount": "1",
"extra": {
"product_options": [],
"unlimited_download": "N",
"product": "Droid 3",
"company_id": "1",
"is_edp": "N",
"edp_shipping": "N",
"discount": 0,
"base_price": 524.99,
"stored_price": "N"
},
"product": "モトローラ - Droid 3",
"product_status": "A",
"deleted_product": false,
"discount": 0,
"company_id": "1",
"base_price": 524.99,
"original_price": 524.99,
"cart_id": "4033496702",
"tax_value": 0,
"subtotal": 524.99,
"display_subtotal": 524.99,
"shipped_amount": 0,
"shipment_amount": "1",
"is_accessible": true,
"shared_product": false,
"variation_features": []
}
},
"taxes": {
"6": {
"rate_type": "P",
"rate_value": "10.000",
"price_includes_tax": "Y",
"regnumber": "1234242",
"priority": 0,
"tax_subtotal": 272.26,
"description": "VAT",
"applies": {
"P": 272.26,
"S": 0,
"items": {
"S": [],
"P": {
"1792750741": true,
"2366072709": true,
"2473281379": true,
"3864289797": true,
"3947455183": true,
"4033496702": true
}
}
}
}
},
"tax_subtotal": 0,
"display_shipping_cost": "0.00",
"profile_update_timestamp": "",
"is_root": "",
"birthday": "",
"purchase_timestamp_from": "",
"purchase_timestamp_to": "",
"responsible_email": "",
"last_passwords": "",
"password_change_timestamp": "",
"api_key": "",
"b_country_descr": "United States",
"s_country_descr": "United States",
"b_state_descr": "Massachusetts",
"s_state_descr": "Massachusetts",
"need_shipping": true,
"shipping": [
{
"shipping_id": "1",
"shipping": "Custom shipping method",
"delivery_time": "3-5 days",
"rate_calculation": "M",
"service_params": [],
"destination": "I",
"min_weight": "0.00",
"max_weight": "0.00",
"service_id": "0",
"module": null,
"service_code": null,
"rate_info": {
"rate_id": "55",
"rate_value": {
"C": {
"0": {
"amount": "0",
"value": 40,
"type": "F",
"per_unit": "N"
},
"30": {
"amount": "30",
"value": 10,
"type": "F",
"per_unit": "N"
},
"50": {
"amount": "50",
"value": 5,
"type": "F",
"per_unit": "N"
}
},
"I": {
"0": {
"amount": "0",
"value": 23,
"type": "F",
"per_unit": "N"
},
"10": {
"amount": "10",
"value": 15,
"type": "F",
"per_unit": "N"
}
}
}
},
"group_key": 0,
"rate": 28,
"group_name": "Simtech",
"need_shipment": true
}
],
"shipment_ids": [],
"secondary_currency": "USD",
"display_subtotal": 2994.86,
"payment_info": [],
"product_groups": [
{
"name": "Simtech",
"company_id": 1,
"products": {
"1792750741": {
"product_id": 229,
"product_code": "V0229W5J8F",
"product": "HP 2711x 27\" LED Monitor",
"amount": 1,
"product_options": [],
"price": 299.99,
"stored_price": "Y",
"main_pair": {
"pair_id": "782",
"image_id": "0",
"detailed_id": "838",
"position": "0",
"detailed": {
"image_path": "http://localhost/git/work/images/detailed/0/xp600aa_300.jpg",
"alt": "",
"image_x": "1000",
"image_y": "1000",
"http_image_path": "http://localhost/git/work/images/detailed/0/xp600aa_300.jpg",
"absolute_path": "/Users/alexions/www/git/work/images/detailed/0/xp600aa_300.jpg",
"relative_path": "detailed/0/xp600aa_300.jpg"
}
},
"original_amount": "1",
"original_product_data": {
"cart_id": "1792750741",
"amount": "1"
},
"extra": {
"product_options": [],
"unlimited_download": "N",
"product": "HP 2711x 27\" LED Monitor",
"company_id": "1",
"is_edp": "N",
"edp_shipping": "N",
"discount": 0,
"base_price": 299.99,
"stored_price": "N"
},
"stored_discount": "N",
"discount": 0,
"company_id": "1",
"amount_total": 1,
"options_type": "P",
"exceptions_type": "F",
"modifiers_price": 0,
"is_edp": "N",
"edp_shipping": "N",
"promotions": [],
"base_price": 299.99,
"display_price": 299.99
},
"2366072709": {
"product_id": 9,
"product_code": "F0009ORD06",
"product": "Toshiba 42TL515U 42\" Class 1080P 3D LED HD TV",
"amount": 1,
"product_options": [],
"price": 999.99,
"stored_price": "Y",
"main_pair": {
"pair_id": "205",
"image_id": "0",
"detailed_id": "261",
"position": "0",
"detailed": {
"image_path": "http://localhost/git/work/images/detailed/0/led-tv-42TL515-01.jpg",
"alt": "",
"image_x": "715",
"image_y": "496",
"http_image_path": "http://localhost/git/work/images/detailed/0/led-tv-42TL515-01.jpg",
"absolute_path": "/Users/alexions/www/git/work/images/detailed/0/led-tv-42TL515-01.jpg",
"relative_path": "detailed/0/led-tv-42TL515-01.jpg"
}
},
"original_amount": "1",
"original_product_data": {
"cart_id": "2366072709",
"amount": "1"
},
"extra": {
"product_options": [],
"unlimited_download": "N",
"product": "Toshiba 42TL515U 42\" Class 1080P 3D LED HD TV",
"company_id": "1",
"is_edp": "N",
"edp_shipping": "N",
"discount": 0,
"base_price": 999.99,
"stored_price": "N"
},
"stored_discount": "N",
"discount": 0,
"company_id": "1",
"amount_total": 1,
"options_type": "P",
"exceptions_type": "F",
"modifiers_price": 0,
"is_edp": "N",
"edp_shipping": "N",
"promotions": [],
"base_price": 999.99,
"display_price": 999.99
},
"2473281379": {
"product_id": 30,
"product_code": "H00305TUE7",
"product": "GO 2535 TM WTE",
"amount": 1,
"product_options": [],
"price": 349.949,
"stored_price": "Y",
"main_pair": {
"pair_id": "254",
"image_id": "0",
"detailed_id": "310",
"position": "0",
"detailed": {
"image_path": "http://localhost/git/work/images/detailed/0/mount_angle_500_tcm137-7794.jpg",
"alt": "",
"image_x": "500",
"image_y": "500",
"http_image_path": "http://localhost/git/work/images/detailed/0/mount_angle_500_tcm137-7794.jpg",
"absolute_path": "/Users/alexions/www/git/work/images/detailed/0/mount_angle_500_tcm137-7794.jpg",
"relative_path": "detailed/0/mount_angle_500_tcm137-7794.jpg"
}
},
"original_amount": "1",
"original_product_data": {
"cart_id": "2473281379",
"amount": "1"
},
"extra": {
"product_options": [],
"unlimited_download": "N",
"product": "GO 2535 TM WTE",
"company_id": "1",
"is_edp": "N",
"edp_shipping": "N",
"discount": 0,
"base_price": 349.949,
"stored_price": "N"
},
"stored_discount": "N",
"discount": 0,
"company_id": "1",
"amount_total": 1,
"options_type": "P",
"exceptions_type": "F",
"modifiers_price": 0,
"is_edp": "N",
"edp_shipping": "N",
"promotions": [],
"base_price": 349.949,
"display_price": 349.949
},
"3864289797": {
"product_id": 132,
"product_code": "S0132PANHE",
"product": "Samsung Galaxy Player 5.0",
"amount": 1,
"product_options": [],
"price": 269.99,
"stored_price": "Y",
"main_pair": {
"pair_id": "507",
"image_id": "0",
"detailed_id": "563",
"position": "0",
"detailed": {
"image_path": "http://localhost/git/work/images/detailed/0/WiFi_Galaxy5_front3_4.jpg",
"alt": "",
"image_x": "800",
"image_y": "800",
"http_image_path": "http://localhost/git/work/images/detailed/0/WiFi_Galaxy5_front3_4.jpg",
"absolute_path": "/Users/alexions/www/git/work/images/detailed/0/WiFi_Galaxy5_front3_4.jpg",
"relative_path": "detailed/0/WiFi_Galaxy5_front3_4.jpg"
}
},
"original_amount": "1",
"original_product_data": {
"cart_id": "3864289797",
"amount": "1"
},
"extra": {
"product_options": [],
"unlimited_download": "N",
"product": "Samsung Galaxy Player 5.0",
"company_id": "1",
"is_edp": "N",
"edp_shipping": "N",
"discount": 0,
"base_price": 269.99,
"stored_price": "N"
},
"stored_discount": "N",
"discount": 0,
"company_id": "1",
"amount_total": 1,
"options_type": "P",
"exceptions_type": "F",
"modifiers_price": 0,
"is_edp": "N",
"edp_shipping": "N",
"promotions": [],
"base_price": 269.99,
"display_price": 269.99
},
"3947455183": {
"product_id": 167,
"product_code": "H0167T7K2E",
"product": "D3100 + 18-55 VR Lens Kit",
"amount": 1,
"product_options": [],
"price": 549.95,
"stored_price": "Y",
"main_pair": {
"pair_id": "597",
"image_id": "0",
"detailed_id": "653",
"position": "0",
"detailed": {
"image_path": "http://localhost/git/work/images/detailed/0/25472_1.jpg",
"alt": "",
"image_x": "1000",
"image_y": "1000",
"http_image_path": "http://localhost/git/work/images/detailed/0/25472_1.jpg",
"absolute_path": "/Users/alexions/www/git/work/images/detailed/0/25472_1.jpg",
"relative_path": "detailed/0/25472_1.jpg"
}
},
"original_amount": "1",
"original_product_data": {
"cart_id": "3947455183",
"amount": "1"
},
"extra": {
"product_options": [],
"unlimited_download": "N",
"product": "D3100 + 18-55 VR Lens Kit",
"company_id": "1",
"is_edp": "N",
"edp_shipping": "N",
"discount": 0,
"base_price": 549.95,
"stored_price": "N"
},
"stored_discount": "N",
"discount": 0,
"company_id": "1",
"amount_total": 1,
"options_type": "P",
"exceptions_type": "F",
"modifiers_price": 0,
"is_edp": "N",
"edp_shipping": "N",
"promotions": [],
"base_price": 549.95,
"display_price": 549.95
},
"4033496702": {
"product_id": 74,
"product_code": "S0074AE6U7",
"product": "Droid 3",
"amount": 1,
"product_options": [],
"price": 524.99,
"stored_price": "Y",
"main_pair": {
"pair_id": "377",
"image_id": "0",
"detailed_id": "433",
"position": "0",
"detailed": {
"image_path": "http://localhost/git/work/images/detailed/0/21Y7tnPMVHL._SX220_.jpg",
"alt": "",
"image_x": "500",
"image_y": "500",
"http_image_path": "http://localhost/git/work/images/detailed/0/21Y7tnPMVHL._SX220_.jpg",
"absolute_path": "/Users/alexions/www/git/work/images/detailed/0/21Y7tnPMVHL._SX220_.jpg",
"relative_path": "detailed/0/21Y7tnPMVHL._SX220_.jpg"
}
},
"original_amount": "1",
"original_product_data": {
"cart_id": "4033496702",
"amount": "1"
},
"extra": {
"product_options": [],
"unlimited_download": "N",
"product": "Droid 3",
"company_id": "1",
"is_edp": "N",
"edp_shipping": "N",
"discount": 0,
"base_price": 524.99,
"stored_price": "N"
},
"stored_discount": "N",
"discount": 0,
"company_id": "1",
"amount_total": 1,
"options_type": "P",
"exceptions_type": "F",
"modifiers_price": 0,
"is_edp": "N",
"edp_shipping": "N",
"promotions": [],
"base_price": 524.99,
"display_price": 524.99
}
},
"package_info": {
"C": 2994.86,
"W": "0.01",
"I": 6,
"shipping_freight": 0,
"packages": [
{
"products": {
"1792750741": 1,
"2366072709": 1,
"2473281379": 1,
"3864289797": 1,
"3947455183": 1,
"4033496702": 1
},
"amount": 6,
"weight": 0.1,
"cost": 2994.86
}
],
"origination": {
"name": "Simtech",
"address": "44 Main street",
"city": "Boston",
"country": "US",
"state": "MA",
"zipcode": "02116",
"phone": "6175556985",
"fax": ""
},
"location": {
"firstname": "Customer",
"lastname": "Customer",
"address": "44 Main street",
"address_2": null,
"city": "Boston",
"county": null,
"state": "MA",
"country": "US",
"zipcode": "02134",
"phone": "6175556985",
"address_type": "residential",
"country_descr": "United States",
"state_descr": "Massachusetts"
}
},
"all_edp_free_shipping": false,
"all_free_shipping": false,
"free_shipping": false,
"shipping_no_required": false,
"shippings": {
"1": {
"shipping_id": "1",
"shipping": "Custom shipping method",
"delivery_time": "3-5 days",
"rate_calculation": "M",
"service_params": [],
"destination": "I",
"min_weight": "0.00",
"max_weight": "0.00",
"service_id": "0",
"module": null,
"service_code": null,
"rate_info": {
"rate_id": "1",
"rate_value": {
"C": {
"0": {
"value": 40,
"type": "F"
},
"30": {
"value": 10,
"type": "F"
},
"50": {
"value": 5,
"type": "F"
}
},
"I": {
"0": {
"value": 23,
"type": "F"
},
"10": {
"value": 15,
"type": "F"
}
}
}
},
"group_key": 0,
"rate": 28,
"taxed_price": 0,
"taxes": {
"6": {
"rate_type": "P",
"rate_value": "10",
"price_includes_tax": "Y",
"regnumber": "1234242",
"priority": 0,
"tax_subtotal": 2.549,
"description": "VAT"
}
}
},
"3": {
"shipping_id": "3",
"shipping": "FedEx Home Delivery",
"delivery_time": "2 days",
"rate_calculation": "R",
"service_params": {
"user_key": "JAHR7R8oMgMFRH55",
"user_key_password": "YxIJQaZt7Qx3Qt904ibYPhuDa",
"account_number": "510087089",
"meter_number": "118530569",
"test_mode": "Y",
"package_type": "YOUR_PACKAGING",
"drop_off_type": "REGULAR_PICKUP",
"max_weight_of_box": "70",
"height": "10",
"width": "10",
"length": "10"
},
"destination": "I",
"min_weight": "0.00",
"max_weight": "0.00",
"service_id": "216",
"module": "fedex",
"service_code": "GROUND_HOME_DELIVERY",
"rate_info": [],
"group_key": 0,
"rate": 9.74,
"taxed_price": 0,
"taxes": {
"6": {
"rate_type": "P",
"rate_value": "10",
"price_includes_tax": "Y",
"regnumber": "1234242",
"priority": 0,
"tax_subtotal": 0.89,
"description": "VAT"
}
}
}
},
"chosen_shippings": [
{
"shipping_id": "1",
"shipping": "Custom shipping method",
"delivery_time": "3-5 days",
"rate_calculation": "M",
"service_params": [],
"destination": "I",
"min_weight": "0.00",
"max_weight": "0.00",
"service_id": "0",
"module": null,
"service_code": null,
"rate_info": {
"rate_id": "1",
"rate_value": {
"C": {
"0": {
"value": 40,
"type": "F"
},
"30": {
"value": 10,
"type": "F"
},
"50": {
"value": 5,
"type": "F"
}
},
"I": {
"0": {
"value": 23,
"type": "F"
},
"10": {
"value": 15,
"type": "F"
}
}
}
},
"group_key": 0,
"rate": 28,
"group_name": "Simtech"
}
]
}
],
"doc_ids": []
}{}最終更新