Skip to content

Commit 174dcec

Browse files
authored
Merge pull request #28 from mnastalski/flip-id-code
Flip arguments on `CourierShipments::getCourierServices()` again for consistency with other methods
2 parents 717974d + 47f15d7 commit 174dcec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Api/Request/CourierShipments.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ public function getCourierFields(string $courierCode): Response
4949
);
5050
}
5151

52-
public function getCourierServices(string $courierCode, int $orderId, array $packages, array $fields = [], ?int $accountId = null): Response
52+
public function getCourierServices(int $orderId, string $courierCode, array $packages, array $fields = [], ?int $accountId = null): Response
5353
{
5454
return new Response(
5555
$this->post('getCourierServices', [
56-
'courier_code' => $courierCode,
5756
'order_id' => $orderId,
58-
'fields' => $fields,
57+
'courier_code' => $courierCode,
5958
'packages' => $packages,
59+
'fields' => $fields,
6060
'account_id' => $accountId,
6161
])
6262
);

0 commit comments

Comments
 (0)