{
  "id": 1312985,
  "title": "We wrote integrations for two marketplaces and skipped the shared interface",
  "url": "https://urgent.news/2026/08/16/we-wrote-integrations-for-two-marketplaces-and-skipped-the-shared",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-16T17:04:40.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/fastogt_team/we-wrote-integrations-for-two-marketplaces-and-skipped-the-shared-interface-ig5"
  },
  "original_language": "en",
  "account": "We developed integrations for two major Russian and CIS marketplaces, Ozon and Wildberries. Initially, we created a shared interface for stock and price synchronization, but it proved incompatible with both platforms. The article explains the specific issues encountered and how they differed between the two marketplaces.",
  "summary": "There is a task that looks like a textbook example of polymorphism: \"sync stock and prices with marketplaces\". There are several platforms, the actions are the same — list the cards, push the stock, push the price, pull the orders. An interface asks to be written: type Marketplace interface { ListOffers () ([] Offer , error ) SetStock ( offerID string , n int64 ) error SetPrice ( offerID string ,…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}