Documentation

sale.delivery.config.get

Scope: catalog Permissions to execute: for all

Method gets information about delivery service by its ID.

JSON query schema:



{
	"$id":"/schemas/methods/sale.delivery.config.get/request.json",
	"$schema":"http://json-schema.org/draft-07/schema",
	"required":[
		"ID"
	],
	"title":"Delivery service get config schema",
	"type":"object",
	"properties":{
		"ID":{
			"$id":"#/properties/ID",
			"title":"Delivery service identifier",
			"type":"integer"
		}
	}
}

}

Example:

Query:

https://my.bitrix24.com/rest/sale.delivery.config.get

JSON call:

{
    ID: 622
}

JSON response:

{
    result: [
        {
            CODE: "SETTING_1",
            VALUE: "SETTING_1 value",
        },
        {
            CODE: "SETTING_2",
            VALUE: "SETTING_2 value",
        },
    ],
    time: {
        start: 1638543677.049672,
        finish: 1638543677.459672,
        duration: 0.4100000858306885,
        processing: 0.023000001907348633,
        date_start: "2021-12-03T17:01:17+02:00",
        date_finish: "2021-12-03T17:01:17+02:00",
    },
}


© «Bitrix24», 2001-2024