sale.delivery.handler.list
Scope: sale, delivery Права на выполнение: для всех
Метод для получения списка обработчиков служб доставки.
Пример
Запрос:
https://my.bitrix24.ru/rest/sale.delivery.handler.list
Ответ JSON:
{ 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", }, }
© «Битрикс», 2001-2024, «1С-Битрикс», 2024