Skip to content

Instantly share code, notes, and snippets.

@pylemon
Created August 30, 2016 07:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pylemon/959335a08b7d6eb0c5cced2738a1a927 to your computer and use it in GitHub Desktop.
Save pylemon/959335a08b7d6eb0c5cced2738a1a927 to your computer and use it in GitHub Desktop.
Title
/v2/post_check
=============
```json
{
"try_split": false,
"kind": "1000",
"group_order": false,
"line_items": [{
"quote_line_item_id": "147183895782223",
"quantity": 1
}, {
"quote_line_item_id": "146587698036505",
"quantity": 3
}],
"auto_select_coupon": true,
"type": 5000
}
```
```json
{
"data": {
"logistics": "\u5b81\u6ce2\u4fdd\u7a0e\u533a",
"user_identity_image_view": false,
"total_price": "83.00",
"logistics_tips": "",
"coupons_for_select": [{
"object_type": "logistics",
"discount_price": 28.0,
"coupon_id": 871,
"restrict": 0,
"tag": "cp_4",
"id": 31300856,
"use_period_txt": "08.24~08.31",
"user_id": "143323471846235",
"title": "#\u516b\u6708\u62c9\u597d\u53cb\u6ce8\u518c\u6709\u793c#",
"content": "\u6ee1228\u51cf28",
"status": 0,
"lable": "\u9650\u4fdd\u7a0e\u533a\u4f7f\u7528",
"logistics_txt": "\u9650\u4fdd\u7a0e\u533a\u4f7f\u7528",
"selectable": false,
"logistics_project": 0
}],
"title": "\u95ea\u7535\u53d1\u8d27\u8ba2\u5355",
"postage_fee": "10.00",
"security_tips": "<font color=\"#da3939\">\u5b89\u5168\u63d0\u9192\uff1a<\/font>\u4ed8\u6b3e\u6210\u529f\u540e\uff0c\u6ce2\u7f57\u871c\u4e0d\u4f1a\u4ee5\u4ed8\u6b3e\u5f02\u5e38\u3001\u5361\u5355\u3001\u7cfb\u7edf\u5347\u7ea7\u4e3a\u7531\u8054\u7cfb\u60a8\u3002\u8bf7\u52ff\u6cc4\u9732\u94f6\u884c\u5361\u53f7\u3001\u624b\u673a\u9a8c\u8bc1\u7801\uff0c\u5426\u5219\u4f1a\u9020\u6210\u94b1\u6b3e\u7684\u635f\u5931\u3002\u5982\u6709\u7591\u95ee\u54a8\u8be2\u5ba2\u670d\uff0c\u8c28\u9632\u7535\u8bdd\u8bc8\u9a97\uff01",
"coupon_discount": "0.00",
"blocks": [{
"title": "\u5546\u54c1\u91d1\u989d",
"label": "\uffe564.17(\u4e0d\u542b\u7a0e)"
}, {
"title": "\u8ba2\u5355\u90ae\u8d39",
"label": "\uffe510.00"
}, {
"title": "\u7efc\u5408\u7a0e",
"label": "\uffe58.83(\u542b\u90ae\u8d39\u7a0e\u989d)"
}],
"label": "\u4fdd\u7a0e\u533a\u53d1\u8d27\u6ee188\u5143\u5305\u90ae",
"total_saveup": "48.83",
"type": 5000,
"selected_coupon": null,
"bottom_stroke_message": "",
"split_message": "",
"split_suggestion": [],
"user_identity_required": false,
"user_identity": {
"name": "\u9ece\u4f1f",
"card_id": "4201*************6"
}
},
"result": 0
}
```
/v5/quotes
==========
```json
{
"data": {
"sub_quotes": [{
"postage_label": "\u4fdd\u7a0e\u533a\u53d1\u8d27\u6ee188\u5143\u5305\u90ae",
"country": "japan",
"summary": [{
"style": 3,
"title": "\u5546\u54c1\u91d1\u989d(\u4e0d\u542b\u7a0e)",
"value": "\uffe564.17",
"label": "",
"quote_recommend": true,
"value_style": 4
}, {
"style": 2,
"label": "",
"value_style": 4,
"value": "\uffe57.63",
"title": "\u7efc\u5408\u7a0e\u603b\u989d"
}, {
"style": 5,
"label": "",
"value_style": 2,
"value": "\uffe571.80",
"title": "\u603b\u91d1\u989d"
}],
"flag_logo": "https://img.bolo.me/constant/app_resource/ic_shoppingcart_nbbsq_2.png",
"groups": [{
"quote_line_items": [{
"rule_type": 0,
"sku_label": "\u5473\u9053: \u67d1\u6a58\u9999",
"total_price": "25.65",
"in_free_postage_event": false,
"name": "\u4fdd\u7a0e\u533a\u30fbBiore\u78a7\u67d4 \u5f31\u9178\u6027\u513f\u7ae5\u6d17\u624b\u6db2 250ml \u4e09\u79cd\u9999\u578b\u53ef\u9009",
"rule_discount_price": "",
"coupon_usable": true,
"price": "25.65",
"selected": true,
"cover": "9205145949713785189",
"total_sys_discount": "0",
"rule_icon": "",
"threshold": 99,
"total_tax": "3.05",
"catalog_id": "143694774457474",
"min_quantity": 1,
"title_tags": [],
"tax_name": "\u7efc\u5408\u7a0e",
"active": true,
"id": "147183895782223",
"quantity": 1
}, {
"rule_type": 0,
"sku_label": "\u6570\u91cf: 1\u679a",
"total_price": "38.52",
"in_free_postage_event": false,
"name": "\u4fdd\u7a0e\u533a\u30fbHolika Holika \u732a\u9f3b\u5b50\u53bb\u9ed1\u5934\u4e09\u90e8\u66f2",
"rule_discount_price": "",
"coupon_usable": true,
"price": "12.84",
"selected": true,
"cover": "9204144887238788264",
"total_sys_discount": "0",
"rule_icon": "",
"threshold": 99,
"total_tax": "4.58",
"catalog_id": "144240843786578",
"min_quantity": 1,
"title_tags": [],
"tax_name": "\u7efc\u5408\u7a0e",
"active": true,
"id": "146587698036505",
"quantity": 3
}, {
"rule_type": 0,
"sku_label": "\u5473\u9053: \u73ab\u7470\u9999",
"total_price": "68.0",
"in_free_postage_event": false,
"name": "\u4fdd\u7a0e\u533a\u30fbKAO\u82b1\u738b \u84b8\u6c7d\u773c\u7f69\u70ed\u6577\u773c\u819c\u8d34 14\u679a \u591a\u79cd\u9999\u578b\u53ef\u9009",
"rule_discount_price": "",
"coupon_usable": true,
"price": "68.0",
"selected": false,
"cover": "9205145658418010825",
"total_sys_discount": "0",
"rule_icon": "",
"threshold": 99,
"total_tax": "8.09",
"catalog_id": "143986540454090",
"min_quantity": 1,
"title_tags": [],
"tax_name": "\u7efc\u5408\u7a0e",
"active": true,
"id": "144988419184893",
"quantity": 1
}, {
"rule_type": 0,
"sku_label": "\u89c4\u683c: \u7eff\u8272",
"total_price": "39.9",
"in_free_postage_event": false,
"name": "\u4fdd\u7a0e\u533a\u30fbLG PERIOE 46CM \u6309\u538b\u5f0f\u7259\u818f 285g \u4e24\u79cd\u8272\u53f7\u53ef\u9009\u3010\u9650\u65f6\u4fc3\u9500\u3011",
"rule_discount_price": "",
"coupon_usable": true,
"price": "39.9",
"selected": false,
"cover": "9205145856253357429",
"total_sys_discount": "0",
"rule_icon": "",
"threshold": 99,
"total_tax": "4.75",
"catalog_id": "145813443079909",
"min_quantity": 1,
"title_tags": [],
"tax_name": "\u7efc\u5408\u7a0e",
"active": true,
"id": "146051175535151",
"quantity": 1
}, {
"rule_type": 0,
"sku_label": "\u89c4\u683c: \u6a59\u8272",
"total_price": "39.9",
"in_free_postage_event": false,
"name": "\u4fdd\u7a0e\u533a\u30fbLG PERIOE 46CM \u6309\u538b\u5f0f\u7259\u818f 285g \u4e24\u79cd\u8272\u53f7\u53ef\u9009\u3010\u9650\u65f6\u4fc3\u9500\u3011",
"rule_discount_price": "",
"coupon_usable": true,
"price": "39.9",
"selected": false,
"cover": "9205145856253697636",
"total_sys_discount": "0",
"rule_icon": "",
"threshold": 99,
"total_tax": "4.75",
"catalog_id": "145813443079909",
"min_quantity": 1,
"title_tags": [],
"tax_name": "\u7efc\u5408\u7a0e",
"active": true,
"id": "146051179360250",
"quantity": 1
}],
"rule_v2": null,
"rule_item": null,
"rule": null
}],
"free_postage": false,
"quote_type": "bonded_zone",
"foot_tip": "",
"type": 5000,
"price_to_free_postage": "23.83"
}, {
"postage_label": "\u6d77\u5916\u76f4\u90ae\u6ee1298\u5143\u5305\u90ae",
"country": "japan",
"summary": [{
"style": 3,
"title": "\u5546\u54c1\u91d1\u989d",
"value": "\uffe50.00",
"label": "",
"quote_recommend": true,
"value_style": 4
}],
"flag_logo": "https://img.bolo.me/constant/app_resource/ic_shoppingcart_rbzy_2.png",
"groups": [{
"quote_line_items": [{
"rule_type": 0,
"sku_label": "\u989c\u8272: 150g",
"total_price": "28.04",
"in_free_postage_event": false,
"name": "Pigeon\u8d1d\u4eb2 \u5a74\u513f\u723d\u8eab\u7c89 \u84dd\u8272 \u94c1\u76d2 150g",
"rule_discount_price": "",
"coupon_usable": true,
"price": "28.04",
"selected": false,
"cover": "9204145623352165910",
"total_sys_discount": "0",
"rule_icon": "",
"threshold": 99,
"total_tax": "0.00",
"catalog_id": "142934340288138",
"min_quantity": 1,
"title_tags": [],
"tax_name": "\u7efc\u5408\u7a0e",
"active": true,
"id": "146296809656405",
"quantity": 1
}],
"rule_v2": null,
"rule_item": null,
"rule": null
}],
"free_postage": false,
"quote_type": "direct_buy",
"foot_tip": "",
"type": 3000
}],
"quote_id": "201506021433235110923332",
"inactive_items": [],
"item_count": 4
},
"result": 0
}
```
> Written with [StackEdit](https://stackedit.io/).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment