Skip to content

feat: add document to getOrganizations query - #185

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

feat: add document to getOrganizations query#185
giurigaud wants to merge 2 commits into
vtex-apps:masterfrom
giurigaud:feat/add-document-getOrg

Conversation

@giurigaud

@giurigaud giurigaud commented Oct 22, 2024

Copy link
Copy Markdown
Contributor

What problem is this solving?

Allow search by Cost Center Document on getOrganizations query.

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(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:

Describe alternatives you've considered, if any.

Related to / Depends on

#183

How does this PR make you feel? 🔗

![](put .gif link here - can be found under "advanced" on giphy)

@vtex-io-ci-cd

vtex-io-ci-cd Bot commented Oct 22, 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

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 🎉🎉

@giurigaud giurigaud changed the title feat: add documento to getOrganizations query feat: add document to getOrganizations query 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.

1 participant