From e72d179f352179cdd2361e25272338104783accb Mon Sep 17 00:00:00 2001 From: Uryvskiy Dima Date: Mon, 5 Aug 2024 09:23:18 +0300 Subject: [PATCH] Fix for method to create links between orders (#199) --- 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 7ca9af7..f2a7240 100644 --- a/lib/RetailCrm/Methods/V5/Orders.php +++ b/lib/RetailCrm/Methods/V5/Orders.php @@ -221,7 +221,7 @@ trait Orders 'POST', $this->fillSite( $site, - ['links' => json_encode($links)] + ['link' => json_encode($links)] ) ); }