You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public function getCategoryRules($category_id, $params = [])
{
return $this->call('GET', 'categories/' . $category_id . '/rules', [
RequestOptions::QUERY => $params
]);
}
udpate this function it works fine for Uk market when switch to US market we to need to pass [category_version=>'v2'] to get category rules which the currrent code you wrote do not exactly
The text was updated successfully, but these errors were encountered:
public function getCategoryRules($category_id, $params = [])
{
return $this->call('GET', 'categories/' . $category_id . '/rules', [
RequestOptions::QUERY => $params
]);
}
The text was updated successfully, but these errors were encountered: