Skip to content

feat(integrations): Trendyol and Hepsiburada connectors: products and orders #1276

Open

Description

@gkhngyk

Summary

Trendyol and Hepsiburada are the large marketplaces in Turkey. AI answers there send shoppers to them as often as to the brand's own store. These two connectors read a seller's products and orders, on the framework from #1263. They come after the other marketplaces, and the product shows them as "Soon" until they are ready.

Scope

  • Listing ids in AI answers (can start now):
  • Connect:
    • Each marketplace's seller API credentials (seller or merchant id plus the API key and secret the seller panel issues), in the framework's credential store.
    • Entry point: the "Stores and marketplaces" group in Settings › Integrations (integrations-section.tsx).
  • syncCatalog(since):
    • The seller's products: barcode (GTIN), stock code, title, brand, category, images, price and stock, and the marketplace's product id.
    • Mapped to the catalog model.
  • syncOrders(since):
    • Order or package id, date, line items (barcode, quantity, revenue), currency and status.
    • Drop the customer's name, address, phone and email.
  • Accounts:
    • Both marketplaces give API access through a seller account.
    • Use the marketplace's test environment where one exists.
    • The core team holds production access.

Acceptance criteria

  • classifyMerchant returns a listingId for Trendyol and Hepsiburada product URLs in the fixtures, and null for their non-product pages.
  • npm test runs each connector against the harness's fake API with fixtures for:
    • paginated products;
    • paginated orders;
    • a rate-limited response that is retried.
  • The stored order rows have no customer fields (asserted in the tests).
  • The PR passes the contributor guide's security checklist.

Activity

  1. added
    enhancement
    help wanted
    integrations
    e-commerce
    on Oct 20, 2026
  2. knockknock10 commented on Oct 27, 2026

    @knockknock10
    Contributor

    Hey @gkhngyk should I start with the independently testable slice called out in the issue: classifyMerchant now extracts p-<id> for Trendyol and Hepsiburada, with fixtures for product/category URLs and an alphanumeric Hepsiburada SKU. I’ve kept seller credentials, catalogue/order sync, retries and security review separate so this first change stays reviewable. The implementation is on my fix/trendyol-hepsiburada-listing-ids branch; tests still need to run.

  3. gkhngyk commented on Oct 29, 2026

    @gkhngyk
    ContributorAuthor

    @knockknock10 thanks, but we'd rather you don't take this one. It's detailed work that only helps the brands selling on these two marketplaces, so it isn't a priority now. Please keep your focus on #1275, which helps far more stores.

  4. knockknock10 commented on Oct 29, 2026

    @knockknock10
    Contributor

    4. @knockknock10 thanks, but we'd rather you don't take this one. It's detailed work that only helps the brands selling on these two marketplaces, so it isn't a priority now. Please keep your focus on #1275, which helps far more stores.

    Okay great ! As you say sir 🫡.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    e-commerceenhancementhelp wantedintegrations

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions