sale.delivery.getList
Scope: catalog Permissions to execute: for all
Method for getting list of available delivery services.
JSON query schema:
{ "$id":"/schemas/methods/sale.delivery.getList/request.json", "$schema":"http://json-schema.org/draft-07/schema", "title":"Delivery service list schema", "type":"object", "properties":{ "FILTER":{ "$id":"#/properties/FILTER", "type":"object", "title":"Filter schema", "properties":{ "PARENT_ID":{ "$id":"#/properties/FILTER/properties/PARENT_ID", "title":"Identifier of parent delivery service", "type":"integer" } } } } } }
Example:
Query:
https://my.bitrix24.com/rest/sale.delivery.getList
JSON call:
{ FILTER: { PARENT_ID: 622 } }
JSON response:
{ result: [ { ID: "688", PARENT_ID: "687", NAME: "Taxi", ACTIVE: "Y", DESCRIPTION: "Taxi Delivery", SORT: "500", CURRENCY: "USD", LOGOTYPE: null, }, { ID: "689", PARENT_ID: "687", NAME: "Cargo", ACTIVE: "Y", DESCRIPTION: "Cargo Delivery", SORT: "500", CURRENCY: "USD", LOGOTYPE: null, }, ], time: { start: 1638544721.243672, finish: 1638544721.621672, duration: 0.37800002098083496, processing: 0.019999980926513672, date_start: "2021-12-03T17:18:41+02:00", date_finish: "2021-12-03T17:18:41+02:00", }, }
© «Bitrix24», 2001-2024