1. Создаем в базе данных в таблице s_orders поле delivery_number у меня уже было изначально 2. Открываем /api/Orders.php и находим
$query = $this->db->placehold("SELECT o.id, o.delivery_id, o.delivery_price, o.separate_delivery,
o.payment_method_id, o.paid, o.payment_date, o.closed, o.discount, o.coupon_code, o.coupon_discount,
o.date, o.user_id, o.name, o.address, o.phone, o.email, o.comment, o.status,
o.url, o.total_price, o.note
FROM __orders o $where LIMIT 1");
заменяем на
$query = $this->db->placehold("SELECT o.id, o.delivery_id,