Skip to content

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

Open
giurigaud wants to merge 2 commits into
vtex-apps:masterfrom
giurigaud:feat/add-tradeNamesearch
Open

feat: added tradename and id on org search queries#183
giurigaud wants to merge 2 commits into
vtex-apps:masterfrom
giurigaud:feat/add-tradeNamesearch

Conversation

@giurigaud

@giurigaud giurigaud commented Oct 16, 2024

Copy link
Copy Markdown
Contributor

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/vtex.b2b-organizations-graphql@0.51.0/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? 🔗

@vtex-io-ci-cd

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

Copy link
Copy Markdown

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

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

Copy link
Copy Markdown

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
@github-actions

Copy link
Copy Markdown
Messages
📖 ❤️ Thanks!
📖

🎉 PR additions = 21, PR deletions = 6

Generated by 🚫 dangerJS against 9aba0fa

@sonarqubecloud

Copy link
Copy Markdown

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