Documentation

sale.delivery.extra.service.get

Scope: catalog Permissions to execute: for all

Method allows getting an additional delivery service by ID.

JSON схема запроса

Example

Query:

https://my.bitrix24.com/rest/sale.delivery.extra.service.get

JSON call:

{
    DELIVERY_ID: 623
}

JSON response:

{
    result: [
        {
            ID: "999",
            CODE: "cargo_type",
            NAME: "Cargo Type",
            DESCRIPTION: "",
            ACTIVE: "Y",
            SORT: "100",
            TYPE: "enum",
            ITEMS: [
                {
                    TITLE: "Small Package(s)",
                    CODE: "small_package",
                    PRICE: 129.99,
                },
                {
                    TITLE: "Documents",
                    CODE: "documents",
                    PRICE: 69.99,
                },
            ],
        },
        {
            ID: "1000",
            CODE: "door_delivery",
            NAME: "Door Delivery",
            DESCRIPTION: "",
            ACTIVE: "Y",
            SORT: "100",
            TYPE: "checkbox",
            PRICE: 14.99,
        },
    ],
    time: {
        start: 1638788570.27462,
        finish: 1638788570.68062,
        duration: 0.40599989891052246,
        processing: 0.04699993133544922,
        date_start: "2021-12-06T13:02:50+02:00",
        date_finish: "2021-12-06T13:02:50+02:00",
    },
}


© «Bitrix24», 2001-2024