カートの詳細
GET /carts/{USER_ID}
指定されたユーザーのカートの詳細情報を取得するには、/api/carts/{USER_ID}に対してGETを送信します。 {USER_ID}は、ユーザーのIDです。
リクエスト:ヘッダー
Name
Value
Content-Type
application/json
Authorization
Basic <認証情報>
PATH パラメータ
Name
Type
説明
USER_ID
integer
ユーザーのID
レスポンス
{
"user_id": "1",
"firstname": "日本",
"lastname": "太郎",
"date": "1577252494",
"ip_address": "113.41.26.10",
"extra": "a:30:{s:10:\"product_id\";i:128;s:12:\"product_code\";s:10:\"K0128RATX3\";s:7:\"product\";s:18:\"カシオ FX-115ES\";s:6:\"amount\";i:1;s:15:\"product_options\";a:0:{}s:5:\"price\";d:2160;s:12:\"stored_price\";s:1:\"N\";s:9:\"main_pair\";a:5:{s:7:\"pair_id\";s:3:\"498\";s:8:\"image_id\";s:1:\"0\";s:11:\"detailed_id\";s:3:\"554\";s:8:\"position\";s:1:\"0\";s:8:\"detailed\";a:11:{s:9:\"object_id\";s:3:\"128\";s:11:\"object_type\";s:7:\"product\";s:4:\"type\";s:1:\"M\";s:10:\"image_path\";s:64:\"https://your-shop.com/images/detailed/0/fx-115es_xlarge.jpg\";s:3:\"alt\";s:0:\"\";s:7:\"image_x\";s:3:\"500\";s:7:\"image_y\";s:3:\"529\";s:15:\"http_image_path\";s:63:\"http://your-shop.com/images/detailed/0/fx-115es_xlarge.jpg\";s:16:\"https_image_path\";s:64:\"https://your-shop.com/images/detailed/0/fx-115es_xlarge.jpg\";s:13:\"absolute_path\";s:69:\"/home/pdcscart/public_html/v410/images/detailed/0/fx-115es_xlarge.jpg\";s:13:\"relative_path\";s:30:\"detailed/0/fx-115es_xlarge.jpg\";}}s:5:\"extra\";a:2:{s:15:\"product_options\";a:0:{}s:18:\"unlimited_download\";s:1:\"N\";}s:15:\"stored_discount\";s:1:\"N\";s:10:\"company_id\";s:1:\"1\";s:12:\"amount_total\";i:1;s:12:\"options_type\";s:1:\"P\";s:15:\"exceptions_type\";s:1:\"F\";s:15:\"modifiers_price\";d:0;s:6:\"is_edp\";s:1:\"N\";s:12:\"edp_shipping\";s:1:\"N\";s:8:\"discount\";i:0;s:10:\"promotions\";a:0:{}s:10:\"base_price\";d:2160;s:12:\"category_ids\";a:1:{i:0;i:251;}s:13:\"display_price\";d:2160;s:13:\"main_category\";i:251;s:9:\"firstname\";s:6:\"日本\";s:8:\"lastname\";s:6:\"太郎\";s:5:\"phone\";s:12:\"01-2345-6789\";s:5:\"email\";s:22:\"[email protected]\";s:9:\"user_data\";a:58:{s:7:\"user_id\";s:1:\"1\";s:6:\"status\";s:1:\"A\";s:9:\"user_type\";s:1:\"A\";s:10:\"user_login\";s:5:\"admin\";s:7:\"referer\";s:0:\"\";s:7:\"is_root\";s:1:\"Y\";s:10:\"company_id\";s:1:\"0\";s:10:\"last_login\";s:1:\"0\";s:9:\"timestamp\";s:10:\"1576988370\";s:8:\"password\";s:32:\"16a6b8dccd567398befed9d17ef21552\";s:4:\"salt\";s:10:\"5J-,{Gk/mA\";s:9:\"firstname\";s:6:\"日本\";s:8:\"lastname\";s:6:\"太郎\";s:7:\"company\";s:12:\"Your company\";s:5:\"email\";s:22:\"[email protected]\";s:5:\"phone\";s:12:\"01-2345-6789\";s:3:\"fax\";s:0:\"\";s:3:\"url\";s:0:\"\";s:10:\"tax_exempt\";s:1:\"N\";s:9:\"lang_code\";s:2:\"ja\";s:8:\"birthday\";s:0:\"\";s:23:\"purchase_timestamp_from\";s:0:\"\";s:21:\"purchase_timestamp_to\";s:0:\"\";s:17:\"responsible_email\";s:0:\"\";s:14:\"last_passwords\";s:0:\"\";s:25:\"password_change_timestamp\";s:0:\"\";s:7:\"api_key\";s:60:\"$2y$10$gUCXq4.ykivf23WKmLaNvO1g7Nwrk8jqTvhGZEkcg/1P3ssuhCoyK\";s:10:\"usergroups\";a:0:{}s:10:\"profile_id\";s:1:\"1\";s:12:\"profile_type\";s:1:\"P\";s:11:\"b_firstname\";s:6:\"日本\";s:10:\"b_lastname\";s:6:\"太郎\";s:9:\"b_address\";s:12:\"赤坂1-2-34\";s:11:\"b_address_2\";s:16:\"CS第二ビル7F\";s:6:\"b_city\";s:6:\"港区\";s:8:\"b_county\";s:0:\"\";s:7:\"b_state\";s:9:\"東京都\";s:9:\"b_country\";s:2:\"JP\";s:9:\"b_zipcode\";s:8:\"107-0052\";s:7:\"b_phone\";s:12:\"01-2345-6789\";s:11:\"s_firstname\";s:6:\"日本\";s:10:\"s_lastname\";s:6:\"太郎\";s:9:\"s_address\";s:12:\"赤坂1-2-34\";s:11:\"s_address_2\";s:16:\"CS第二ビル7F\";s:6:\"s_city\";s:6:\"港区\";s:8:\"s_county\";s:0:\"\";s:7:\"s_state\";s:9:\"東京都\";s:9:\"s_country\";s:2:\"JP\";s:9:\"s_zipcode\";s:8:\"107-0052\";s:7:\"s_phone\";s:12:\"01-2345-6789\";s:14:\"s_address_type\";s:0:\"\";s:12:\"profile_name\";s:4:\"Main\";s:24:\"profile_update_timestamp\";s:10:\"1577151504\";s:6:\"fields\";a:6:{i:38;s:5:\"NIHON\";i:39;s:5:\"NIHON\";i:40;s:4:\"TARO\";i:41;s:4:\"TARO\";i:36;s:5:\"NIHON\";i:37;s:4:\"TARO\";}s:15:\"b_country_descr\";s:5:\"Japan\";s:15:\"s_country_descr\";s:5:\"Japan\";s:13:\"b_state_descr\";s:9:\"東京都\";s:13:\"s_state_descr\";s:9:\"東京都\";}s:8:\"group_id\";i:0;s:15:\"chosen_shipping\";N;}",
"company_id": "1",
"cart_products": "1",
"total": "2160.00",
"order_id": "0",
"user_data": {
"user_id": "1",
"status": "A",
"user_type": "A",
"user_login": "admin",
"referer": "",
"is_root": "Y",
"company_id": "0",
"last_login": "0",
"timestamp": "1576988370",
"firstname": "日本",
"lastname": "太郎",
"company": "Your company",
"email": "[email protected]",
"phone": "01-2345-6789",
"fax": "",
"url": "",
"tax_exempt": "N",
"lang_code": "ja",
"birthday": "",
"purchase_timestamp_from": "",
"purchase_timestamp_to": "",
"responsible_email": "",
"usergroups": [],
"profile_id": "1",
"profile_type": "P",
"b_firstname": "日本",
"b_lastname": "太郎",
"b_address": "赤坂1-2-34",
"b_address_2": "CS第二ビル7F",
"b_city": "港区",
"b_county": "",
"b_state": "東京都",
"b_country": "JP",
"b_zipcode": "107-0052",
"b_phone": "01-2345-6789",
"s_firstname": "日本",
"s_lastname": "太郎",
"s_address": "赤坂1-2-34",
"s_address_2": "CS第二ビル7F",
"s_city": "港区",
"s_county": "",
"s_state": "東京都",
"s_country": "JP",
"s_zipcode": "107-0052",
"s_phone": "01-2345-6789",
"s_address_type": "",
"profile_name": "Main",
"profile_update_timestamp": "1577151504",
"fields": {
"36": "NIHON",
"37": "TARO",
"38": "NIHON",
"39": "NIHON",
"40": "TARO",
"41": "TARO"
},
"b_country_descr": "Japan",
"s_country_descr": "Japan",
"b_state_descr": "東京都",
"s_state_descr": "東京都"
},
"phone": "01-2345-6789",
"products": [
{
"item_id": "530233946",
"item_type": "P",
"product_id": "128",
"amount": "1",
"price": "2160.00",
"extra": {
"product_id": 128,
"product_code": "K0128RATX3",
"product": "カシオ FX-115ES",
"amount": 1,
"product_options": [],
"price": 2160,
"stored_price": "N",
"main_pair": {
"pair_id": "498",
"image_id": "0",
"detailed_id": "554",
"position": "0",
"detailed": {
"object_id": "128",
"object_type": "product",
"type": "M",
"image_path": "https://your-shop.com/images/detailed/0/fx-115es_xlarge.jpg",
"alt": "",
"image_x": "500",
"image_y": "529",
"http_image_path": "http://your-shop.com/images/detailed/0/fx-115es_xlarge.jpg",
"https_image_path": "https://your-shop.com/images/detailed/0/fx-115es_xlarge.jpg",
"absolute_path": "/home/your-shop.com/public_html/images/detailed/0/fx-115es_xlarge.jpg",
"relative_path": "detailed/0/fx-115es_xlarge.jpg"
}
},
"extra": {
"product_options": [],
"unlimited_download": "N"
},
"stored_discount": "N",
"company_id": "1",
"amount_total": 1,
"options_type": "P",
"exceptions_type": "F",
"modifiers_price": 0,
"is_edp": "N",
"edp_shipping": "N",
"discount": 0,
"promotions": [],
"base_price": 2160,
"category_ids": [
251
],
"display_price": 2160,
"main_category": 251,
"firstname": "日本",
"lastname": "太郎",
"phone": "01-2345-6789",
"email": "[email protected]",
"user_data": {
"user_id": "1",
"status": "A",
"user_type": "A",
"user_login": "admin",
"referer": "",
"is_root": "Y",
"company_id": "0",
"last_login": "0",
"timestamp": "1576988370",
"password": "16a6b8dccd567398befed9d17ef21552",
"salt": "5J-,{Gk/mA",
"firstname": "日本",
"lastname": "太郎",
"company": "Your company",
"email": "[email protected]",
"phone": "01-2345-6789",
"fax": "",
"url": "",
"tax_exempt": "N",
"lang_code": "ja",
"birthday": "",
"purchase_timestamp_from": "",
"purchase_timestamp_to": "",
"responsible_email": "",
"last_passwords": "",
"password_change_timestamp": "",
"api_key": "$2y$10$gUCXq4.ykivf23WKmLaNvO1g7Nwrk8jqTvhGZEkcg/1P3ssuhCoyK",
"usergroups": [],
"profile_id": "1",
"profile_type": "P",
"b_firstname": "日本",
"b_lastname": "太郎",
"b_address": "赤坂1-2-34",
"b_address_2": "CS第二ビル7F",
"b_city": "港区",
"b_county": "",
"b_state": "東京都",
"b_country": "JP",
"b_zipcode": "107-0052",
"b_phone": "01-2345-6789",
"s_firstname": "日本",
"s_lastname": "太郎",
"s_address": "赤坂1-2-34",
"s_address_2": "CS第二ビル7F",
"s_city": "港区",
"s_county": "",
"s_state": "東京都",
"s_country": "JP",
"s_zipcode": "107-0052",
"s_phone": "01-2345-6789",
"s_address_type": "",
"profile_name": "Main",
"profile_update_timestamp": "1577151504",
"fields": {
"36": "NIHON",
"37": "TARO",
"38": "NIHON",
"39": "NIHON",
"40": "TARO",
"41": "TARO"
},
"b_country_descr": "Japan",
"s_country_descr": "Japan",
"b_state_descr": "東京都",
"s_state_descr": "東京都"
},
"group_id": 0,
"chosen_shipping": null
},
"product": "カシオ FX-115ES",
"variation_features": []
}
]
}{}最終更新