Documentation

sale.delivery.handler.list

Scope: catalog Permissions to execute: for all

Method for getting list of delivery service handlers.

Example

Query:

https://my.bitrix24.com/rest/sale.delivery.handler.list

JSON response:

{
    result: [
    {
        ID: "50",
        NAME: "Uber",
        CODE: "uber",
        SORT: "100",
        DESCRIPTION: "Uber Description",
        SETTINGS: {
            CALCULATE_URL: "http://gateway.bx/calculate.php",
            CREATE_DELIVERY_REQUEST_URL: "http://gateway.bx/create_delivery_request.php",
            CANCEL_DELIVERY_REQUEST_URL: "http://gateway.bx/cancel_delivery_request.php",
            HAS_CALLBACK_TRACKING_SUPPORT: "Y",
            CONFIG: [
                {
                    TYPE: "STRING",
                    NAME: "Setting 1",
                    CODE: "SETTING_1",
                },
                {
                    TYPE: "STRING",
                    NAME: "Setting 2",
                    CODE: "SETTING_2",
                },
            ],
        },
        PROFILES: [
                {
            NAME: "Taxi",
            DESCRIPTION: "Taxi Delivery",
            CODE: "TAXI",
                }
            ],
        }
    ],
    time: {
        start: 1638538190.926672,
        finish: 1638538191.315672,
        duration: 0.38899993896484375,
        processing: 0.01699995994567871,
        date_start: "2021-12-03T15:29:50+02:00",
        date_finish: "2021-12-03T15:29:51+02:00",
    },
}


© «Bitrix24», 2001-2024