sale.delivery.handler.update
Scope: sale, delivery Права на выполнение: для всех
Метод выполняет обновление обработчика служб доставки.
Пример
Запрос:
https://my.bitrix24.ru/rest/sale.delivery.handler.update
Вызов JSON:
{ ID: 43, CODE: "uber", NAME: "Uber", 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", CODE: "SETTING_1", NAME: "Setting 1", }, { TYPE: "STRING", CODE: "SETTING_2", NAME: "Setting 2", }, ], }, PROFILES: [ { NAME: "Taxi", CODE: "TAXI", DESCRIPTION: "Taxi Delivery", }, { NAME: "Cargo", CODE: "CARGO", DESCRIPTION: "Cargo Delivery", }, ], }
Ответ JSON:
{ result: true, time: { start: 1638371182.61351, finish: 1638371182.99051, duration: 0.377000093460083, processing: 0.02500009536743164, date_start: "2021-12-01T17:06:22+02:00", date_finish: "2021-12-01T17:06:22+02:00", }, }
© «Битрикс», 2001-2024, «1С-Битрикс», 2024