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

Call for User Group Assignments for a non-existent Buyer returns 200 #41

Open
jlafountaindnw opened this issue Feb 1, 2019 · 1 comment

Comments

@jlafountaindnw
Copy link

If I make a call for a ListPage of UserGroupAssignment objects from a non-existent Buyer like this:

<>.UserGroups.ListUserAssignmentsAsync(<>);

If the buyerID argument is set to a Buyer that is non-existent in OrderCloud, instead of sending back a 404 response, it seems to send back a 200 response along with a ListPage of zero UserGroupAssignment objects.

@tmenier
Copy link
Contributor

tmenier commented Feb 1, 2019

Thanks for reporting. I agree, that should probably be a 404. Not an SDK bug per se (it's just echoing what the API returns), but we'll get it logged as an API issue.

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