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

GraphQL for Products create/update #4698

Closed
brent-hoover opened this issue Oct 2, 2018 · 5 comments
Closed

GraphQL for Products create/update #4698

brent-hoover opened this issue Oct 2, 2018 · 5 comments
Labels
epic For issues that exist only to track progress on a list of other issues in one place

Comments

@brent-hoover
Copy link
Collaborator

brent-hoover commented Oct 2, 2018

Requirements:

We need to be able to create a product, or replace an existing product via an API via HTTP and have that product validated using the GraphQL schema, or get back validation messages.

Also need to be able to add to Media records that point to a URL.

The API needs to be able to authenticate as a user with createProduct permissions (or however they are currently defined).

@brent-hoover brent-hoover changed the title Create a GraphQL mutation for creating/editing products Create a GraphQL mutation for creating/editing products and images Oct 2, 2018
@aldeed aldeed changed the title Create a GraphQL mutation for creating/editing products and images GraphQL for Products create/update Oct 5, 2018
@aldeed aldeed added the epic For issues that exist only to track progress on a list of other issues in one place label Oct 5, 2018
@aldeed aldeed self-assigned this Oct 5, 2018
@aldeed aldeed removed their assignment Feb 25, 2019
@nei
Copy link

nei commented May 3, 2019

Any idea on when it is planned to be done?

@aldeed
Copy link
Contributor

aldeed commented May 19, 2019

It isn't planned yet, but we are fast approaching a need for it. Best guess sometime in the next 3 months.

@gmartinsribeiro
Copy link

Hello! Is this part of the short-term roadmap?
I'm trying to figure out how to bulk insert products and this feature would be an option.

Best regards,
Gonçalo

@aldeed
Copy link
Contributor

aldeed commented Aug 20, 2019

#5404 recently started work in this direction, and more product mutations will be added in the coming months, starting with bulk update mutations similar to the add/remove tags ones. If you need it earlier than a few months from now, I'd suggest a plugin that directly uses Mongo bulk write API.

@aldeed
Copy link
Contributor

aldeed commented Jan 6, 2020

These mutations were added in 3.0 branch

@aldeed aldeed closed this as completed Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic For issues that exist only to track progress on a list of other issues in one place
Projects
None yet
Development

No branches or pull requests

4 participants