Repository navigation
Add widely used operations to 16 catalog adapters (eBay, Amazon, Mercado Libre, Etsy and more) - #1541
Merged
Merged
Conversation
… and tracking tools
…tion and source item tools
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the operations merchants and back-office teams use most to 16 existing catalog adapters. Every operation comes from the vendor's public API reference or official OpenAPI file.
No existing tool is renamed or removed, so installed connectors keep working. They pick up the new tools when the user clicks Apply update on the connector page.
Changes
ebay-sellamazon-sellermercado-libreetsyozonplentyoneprestashopmagentoall), carts, cart price rules and coupons, special prices, credit memos, attribute options, source itemskauflandweclappqlsbuchhaltungsbutlereasybilltelegram-botgorgiassumupPolicy and safety:
sell.marketing.commerce.message) are left out on purpose: it is not granted to every keyset, and an ungranted scope fails the whole sign-in.previousOAuthScopeskeeps existing tokens valid until the user authorizes again.listings_dfor the delete tool, which is installed off.previousOAuthScopesis set the same way.Cloud and self-hosted: same behaviour in both. These are catalog adapters only.
Type
Testing
oauth-authorize-settings.spec.tsis updated for the Etsy scope list.scripts/ops/verify-adapter-with-connector.mjs. The script only sends GET or read-only calls and prints response shapes, never values. Tools that needed an id were skipped.The ozon, prestashop and magento checks failed for existing tools too, because those APIs don't answer from the test machine's network. The OAuth adapters (eBay, Amazon, Mercado Libre, Etsy) were not run, because a token refresh would rotate the account's token.
Commands:
node scripts/validate-adapters.mjs --warn: no new errors or warnings for these slugs. The 15 Amazon tool-prefix warnings already exist and are kept for installed connectors.node scripts/adapter-count.mjs --check: OK.cd packages/backend && npx jest <18 changed specs>: 18 suites, 305 passed, 67 skipped (live).npx tsc --noEmit -p tsconfig.json,npx eslint <changed specs>andnpm run build -w packages/backend: clean.Checklist