HomeGuidesAPI ReferenceChangelogDiscussions
HomeLog In
Guides

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

FieldTypeDescriptionExample
enable_fast_checkout_qtyBooleanfalse
enable_tc_location_redesignBooleanfalse
enable_ec_fast_checkoutBooleanfalse
enable_sc_fast_checkoutBooleanfalse
checkout_without_customer_nameBooleanfalse
enforce_user_login_on_checkoutBooleanfalse
checkout_without_emailBooleanfalse
enabled_abandoned_cart_notificationBooleanfalse
rounding_settingObject
rounding_setting.enabledBooleanfalse
rounding_setting.smallest_denominationInteger1
rounding_setting.rounding_modeString'round_half_even'
multi_checkout.enabledBooleanfalse
multi_checkout.cart_tagsArray<CartTag>

Cart Tag

FieldTypeDescriptionExample
idString64425427c0ccc1003877da3b
priorityInteger1
name_translationsTranslation"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"
            }
        ]
    }
}