Skip to content

Commit 60a04ed

Browse files
authored
Merge pull request #233 from mikebaker85/patch-1
update endpoint for getShippingZones()
2 parents 3b10413 + 1e1d3a6 commit 60a04ed

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Bigcommerce/Api/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1979,7 +1979,7 @@ public static function deleteWebhook($id)
19791979
*/
19801980
public static function getShippingZones()
19811981
{
1982-
return self::getCollection('/shipping/zones/', 'ShippingZone');
1982+
return self::getCollection('/shipping/zones', 'ShippingZone');
19831983
}
19841984

19851985
/**

test/Unit/Api/Resources/ShippingZoneTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function testGetShippingZones()
5656
{
5757
$this->connection->expects($this->once())
5858
->method('get')
59-
->with($this->basePath . '/shipping/zones/');
59+
->with($this->basePath . '/shipping/zones');
6060

6161
Client::getShippingZones();
6262
}

0 commit comments

Comments
 (0)