Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add param Options to getCategoryRules #55

Open
Dev-Waheed opened this issue Dec 9, 2024 · 2 comments
Open

Add param Options to getCategoryRules #55

Dev-Waheed opened this issue Dec 9, 2024 · 2 comments

Comments

@Dev-Waheed
Copy link

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 
@nVuln
Copy link
Collaborator

nVuln commented Dec 10, 2024

tks for your report, already fixed it on v2.6.1

@Dev-Waheed
Copy link
Author

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants