Skip to content
commitius

Why does stock drift in a Trendyol integration? One-way versus two-way sync

Most integrations are one-way: stock goes from your site to Trendyol, but Trendyol sales never come back. The causes, Trendyol's own rules and the fixes.

Can DemirFounder & author · 4 min read
Orange Trendyol parcel bags and a tablet showing two different stock counts on a counter in a sunny warehouse

Most of the time the integration is one-way. Stock goes from your site to Trendyol, but a sale on Trendyol never comes back to your site. Your site still thinks the item is in stock, writes the old number to Trendyol on the next sync, and the same item sells twice. The fix is a two-way setup, where every channel's orders land in one stock source. Stock can drift in a two-way setup too. The causes and Trendyol's rules are below.

What's the difference between one-way and two-way?

  • One-way: your site or ERP writes the stock count to Trendyol. Trendyol orders don't reach your system, or someone types them in by hand.
  • Two-way: Trendyol orders land in your system. The system lowers the stock and writes the new count to every channel. Stock lives in one place.

An example. You have 5 units. Two sell on Trendyol. In a one-way setup your site still says 5 and writes 5 to Trendyol on the next sync. There are 3 on the shelf. You have nothing to send the customers who buy the other 2.

A web store on the left and the Trendyol seller panel on the right. A bold arrow runs from the store to Trendyol, the arrow back is dashed and faint

Why does stock still drift in a two-way setup?

1. Orders arrive late or not at all. Trendyol's developer changelog lists several incidents in 2026:

  • 2 September 2026: new orders created in a given time window weren't returned by the service.
  • 8 September 2026: some new orders weren't returned in service responses. Trendyol asked sellers to query that window again.
  • 6 October 2026: order information didn't reach webhooks for a while and was delivered later.

An integration that relies only on webhooks, or only on a single query, misses these orders.

2. Updates aren't applied at once. According to Trendyol's documentation, a stock and price request goes into a queue. The response is only a request ID (batchRequestId). One request carries at most 1,000 items. "Sent" doesn't mean "updated on Trendyol".

3. Errors stay silent. A stock and price update returns no overall "completed" status. Trendyol asks you to check each item's own status and error reason (failureReasons). The result stays visible for 4 hours. If the integration never reads it, nobody notices a rejected update.

4. Orders waiting for payment approval. Trendyol returns these orders with the "Awaiting" status and asks you not to act on them until they move to Created (shipment packages). If the integration ignores them, the item can sell on another channel in the meantime. If it lowers stock for them and the order is cancelled without the stock coming back, you end up short.

5. Cancellations and returns aren't written back to stock. Stock then looks lower than it really is, and an item you have shows as sold out.

6. The barcode differs between the two places. Trendyol matches stock by barcode. If your site's barcode isn't the same as Trendyol's, the update never reaches that product.

7. The integration calls an old API address. Trendyol announced that its V1 product services are out of use from 15 October 2026. The stock and price update (updatePriceAndInventory) is on the list. If your integration hasn't been updated since, stock may not be going out at all.

8. It hits the rate limits. According to Trendyol's service limits, from 14 September 2026 stock and price writes are capped at 350 requests a minute for sellers with a 100,000-listing limit. Price updates also have a limit of 30 requests a minute per barcode. Since 8 June 2026, reading shipment packages is capped at 30 requests a minute for these sellers. An integration that re-queries every product and order each minute runs into these limits.

How do you prevent drift?

  1. Keep stock in one place: the ERP, the site or a stock program. Don't type stock into the Trendyol panel by hand.
  2. Take orders by webhook. Also re-scan the last few hours at short intervals and add any order that slipped through.
  3. Read the result of every stock update item by item. If there's an error, log the reason and send again.
  4. Set Awaiting orders aside in stock. Lower stock for good when they turn Created, and release it if they're cancelled.
  5. Write cancellations and returns back to stock.
  6. Leave a margin on low-stock items. For example, when 2 are left on the shelf, send 1 to Trendyol. You may miss one sale, but you won't sell the same item twice.
  7. Once a day, compare Trendyol's stock list with your own. Any product that differs shows where the integration broke.
  8. Ask your integration provider whether they've moved to Trendyol's new product services (V2).
A warehouse worker scanning the barcode on a parcel, with orange Trendyol bags on the shelves behind

The same order reaching your system twice is the opposite problem. We cover it in why orders reach the ERP twice. We build the Trendyol connection around your own stock source as a Trendyol integration.

Share

Working on something similar?

Tell us in a few sentences what you want to do, and we will work out the right way together.