diff --git a/src/Api/Request/CourierShipments.php b/src/Api/Request/CourierShipments.php index 0138407..5ac7ade 100644 --- a/src/Api/Request/CourierShipments.php +++ b/src/Api/Request/CourierShipments.php @@ -49,12 +49,12 @@ public function getCourierFields(string $courierCode): Response ); } - public function getCourierServices(string $courierCode, string $packageNumber, array $fields, array $packages, ?int $accountId = null): Response + public function getCourierServices(string $courierCode, int $orderId, array $fields, array $packages, ?int $accountId = null): Response { return new Response( $this->post('getCourierServices', [ 'courier_code' => $courierCode, - 'package_number' => $packageNumber, + 'order_id' => $orderId, 'fields' => $fields, 'packages' => $packages, 'account_id' => $accountId,