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

Marketplace: Create endpoint for adding database mapping for vendor #67193

Open
2 tasks
gavande1 opened this issue Aug 31, 2022 · 2 comments
Open
2 tasks

Marketplace: Create endpoint for adding database mapping for vendor #67193

gavande1 opened this issue Aug 31, 2022 · 2 comments

Comments

@gavande1
Copy link
Contributor

gavande1 commented Aug 31, 2022

Details

When vendors are onboarded we need to create their mapping in database tables in order to onboard them correctly. We will create an endpoint (that we will later use through WC.com) that accepts a vendor name and wpcom_user_id and:

  • adds a store_vendor with a given name
  • adds store_vendor_wpcom_user for the given wpcom_user_id

We can reuse the authentication mechanism used for updating webhook urls, but as first pass we will use is_proxied + is_automattian check so that we can trigger it manually.

@cpapazoglou cpapazoglou changed the title Marketplace: Create CLI tool for adding database mapping for vendor and their products Marketplace: Create CLI tool for adding database mapping for vendor Sep 1, 2022
@cpapazoglou cpapazoglou changed the title Marketplace: Create CLI tool for adding database mapping for vendor Marketplace: Create endpoint for adding database mapping for vendor Sep 1, 2022
@gavande1
Copy link
Contributor Author

This task has already been completed. I am closing it now.

@gavande1 gavande1 reopened this May 23, 2024
@gavande1
Copy link
Contributor Author

My bad, this is about adding a new endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants