From 5443de36f628c0339718b9063b7a19c68124248c Mon Sep 17 00:00:00 2001 From: Uryvskiy Dima Date: Sat, 3 Aug 2024 17:26:44 +0300 Subject: [PATCH] Fix for method to create links between orders --- 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)] ) ); }