headers : [{'name': 'Authorization', 'value': 'Api-Key'}]
BX.ajax({
url: ORDER_CREATE_URL,
data: cart,
method: 'POST',
dataType: 'json',
timeout: 30,
async: true,
processData: true,
scriptsRunFirst: true,
emulateOnload: true,
headers : [{'name': 'Authorization', 'value': 'Api-Key'}]
start: true,
cache: false,
onsuccess: function (data) {
console.log(data);
},
onfailure: function () {
}
});