From 0f05f84d045179f2b02ff1aa6c349a2ff230c58c Mon Sep 17 00:00:00 2001 From: Vitaliy Chesnokov Date: Mon, 20 Jan 2020 18:32:25 +0300 Subject: [PATCH] Add orders merge technique --- lib/RetailCrm/Methods/V5/Orders.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/RetailCrm/Methods/V5/Orders.php b/lib/RetailCrm/Methods/V5/Orders.php index 19b63d6..9648ae8 100644 --- a/lib/RetailCrm/Methods/V5/Orders.php +++ b/lib/RetailCrm/Methods/V5/Orders.php @@ -42,7 +42,7 @@ trait Orders */ public function ordersCombine($order, $resultOrder, $technique = 'ours') { - $techniques = ['ours', 'summ', 'theirs']; + $techniques = ['ours', 'summ', 'theirs', 'merge']; if (!count($order) || !count($resultOrder)) { throw new \InvalidArgumentException(