We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e59cc8 commit 911d68fCopy full SHA for 911d68f
1 file changed
src/Bigcommerce/Api/Client.php
@@ -2042,13 +2042,15 @@ public static function deleteShippingMethod($zoneId, $methodId)
2042
}
2043
2044
/**
2045
- Get collection of product skus by Product
2046
- @param array $filter
2047
- @return mixed
+ * Get collection of product skus by Product
+ *
+ * @param $productId
2048
+ * @param array $filter
2049
+ * @return mixed
2050
*/
- public static function getSkusByProduct($product_id, $filter = array())
2051
+ public static function getSkusByProduct($productId, $filter = array())
2052
{
2053
$filter = Filter::create($filter);
- return self::getCollection('/products/'.$product_id.'/skus' . $filter->toQuery(), 'Sku');
2054
+ return self::getCollection('/products/'.$productId.'/skus' . $filter->toQuery(), 'Sku');
2055
2056
0 commit comments