Get Checkout Setting
Function
To retrieve the checkout settings
獲取結帳設定
URL
GET https://open.shopline.io/v1/settings/checkout
Request Example
curl --request GET \
     --url https://open.shopline.io/v1/settings/checkout \
     --header 'Accept: application/json'
Response Example
| Field | Type | Description | Example | 
|---|---|---|---|
| enable_fast_checkout_qty | Boolean | false | |
| enable_tc_location_redesign | Boolean | false | |
| enable_ec_fast_checkout | Boolean | false | |
| enable_sc_fast_checkout | Boolean | false | |
| checkout_without_customer_name | Boolean | false | |
| enforce_user_login_on_checkout | Boolean | false | |
| checkout_without_email | Boolean | false | |
| enabled_abandoned_cart_notification | Boolean | false | |
| rounding_setting | Object | ||
| rounding_setting.enabled | Boolean | false | |
| rounding_setting.smallest_denomination | Integer | 1 | |
| rounding_setting.rounding_mode | String | 'round_half_even' | |
| multi_checkout.enabled | Boolean | false | |
| multi_checkout.cart_tags | Array<CartTag> | 
Cart Tag
| Field | Type | Description | Example | 
|---|---|---|---|
| id | String | 64425427c0ccc1003877da3b | |
| priority | Integer | 1 | |
| name_translations | Translation | "en": "en", "zh-hant": ""  | 
文字
{
    "enable_fast_checkout_qty": false,
    "enable_tc_location_redesign": false,
    "enable_ec_fast_checkout": false,
    "enable_sc_fast_checkout": false,
    "checkout_without_customer_name": false,
    "enforce_user_login_on_checkout": false,
    "checkout_without_email": false,
    "enabled_abandoned_cart_notification": false,
    "rounding_setting": {
        "enabled": false,
        "rounding_mode": "round_half_even",
        "smallest_denomination": 10
    },
    "multi_checkout": {
        "enabled": true,
        "cart_tags": [
            {
                "name_translations": {
                    "en": "",
                    "zh-hant": ""
                },
                "priority": 1,
                "id": "64425427c0ccc1003877da3b"
            },
            {
                "name_translations": {
                    "en": "",
                    "zh-hant": ""
                },
                "priority": 5,
                "id": "64425427c0ccc1003877da3f"
            },
            {
                "name_translations": {
                    "en": "",
                    "zh-hant": ""
                },
                "priority": 2,
                "id": "64425427c0ccc1003877da3c"
            },
            {
                "name_translations": {
                    "en": "",
                    "zh-hant": ""
                },
                "priority": 3,
                "id": "64425427c0ccc1003877da3d"
            },
            {
                "name_translations": {
                    "en": "",
                    "zh-hant": ""
                },
                "priority": 4,
                "id": "64425427c0ccc1003877da3e"
            }
        ]
    }
}
Updated almost 2 years ago