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

feat: added tradename and id on org search queries #183

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

giurigaud
Copy link
Contributor

@giurigaud giurigaud commented Oct 16, 2024

What problem is this solving?

  • Allow search by trade name (open PR).
  • Allow search by Organization ID.

How to test it?

Make a post request to this url: https://giurigaud--b2bstore005.myvtex.com/_v/private/[email protected]/graphiql/v1?
Use a query like this:
{"query":"query{\n getOrganizations(search: \"15672\" ){\n data {\n id\n name\n }\n pagination {\n page\n pageSize\n total\n }\n }\n}\n\n# query{\n# getCostCenters{\n# data{\n# id\n# name\n# organization\n# businessDocument\n# }\n# }\n# }","variables":null}

Workspace

Screenshots or example usage:

Screenshot 2024-10-16 at 17 08 32

Describe alternatives you've considered, if any.

Related to / Depends on

How does this PR make you feel? 🔗

Copy link

vtex-io-ci-cd bot commented Oct 16, 2024

Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖

Please select which version do you want to release:

  • Patch (backwards-compatible bug fixes)

  • Minor (backwards-compatible functionality)

  • Major (incompatible API changes)

And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.

  • No thanks, I would rather do it manually 😞

@vtex-io-docs-bot
Copy link

vtex-io-docs-bot bot commented Oct 16, 2024

Beep boop 🤖

I noticed you didn't make any changes at the docs/ folder

  • There's nothing new to document 🤔
  • I'll do it later 😞

In order to keep track, I'll create an issue if you decide now is not a good time

  • I just updated 🎉🎉

@enzomerca enzomerca requested a review from a team October 17, 2024 11:18
Copy link

Messages
📖 ❤️ Thanks!
📖

🎉 PR additions = 21, PR deletions = 6

Generated by 🚫 dangerJS against 9aba0fa

Copy link

sonarcloud bot commented Oct 17, 2024

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

Successfully merging this pull request may close these issues.

2 participants