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/add new args getorganization #163

Closed

Conversation

giurigaud
Copy link
Contributor

@giurigaud giurigaud commented Jun 20, 2024

What problem is this solving?

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

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: \"\", document: \"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 Jun 20, 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

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 22, 2024 16:22
@enzomerca
Copy link
Contributor

Closing this PR in favor of:
#183
and
#185

@enzomerca enzomerca closed this Oct 22, 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.

3 participants