A product image changes. The integration responds by processing the catalog again. That can look reasonable when the store is small. Once image downloads start competing for API capacity, it becomes a surprisingly expensive way to update one product.
I ran into this in a WooCommerce and Zoho Inventory integration. The existing image synchronization worked in bulk and regularly hit API limits. My change was to introduce a webhook-driven path that updated the affected product by SKU. Bulk synchronization still had a job to do; it stopped being the default answer to every image change.
This article explains that decision and the parts of the image pipeline that matter after the webhook arrives. It draws on an anonymized equipment-store implementation delivered before E-FRAME launched. It is not a benchmark: we do not have a measured request reduction to publish.
The unit of work was wrong#
Before choosing a queue or adjusting a batch size, ask a simpler question: what actually changed?
If the answer is “the gallery for one SKU,” the routine job should describe that SKU. A job described as “synchronize all images” contains far more work than the event calls for. Increasing the timeout may let it run longer, but it does not make that extra work necessary.
Images make the difference visible. A field update is usually small. An image update can involve fetching a binary file, writing it to storage, creating a WordPress attachment and assigning it to a product. Repeating that pipeline for unrelated products spends resources without improving the changed product.
The useful distinction is between an initial import and an ongoing update. They can share image-handling code without sharing the same scope.
Keep the bulk tool. Change when you use it.#
A webhook-driven integration does not remove the need for bulk operations. A new store still needs its existing images. An administrator may need to repair selected records after a migration. A changed mapping rule may require a deliberate wider run.
In the documented implementation, administrators had an image-sync interface, a product-level action and bulk processing in batches of eight products. The targeted update path served a different purpose: image work for the SKU included in the incoming update.
| Situation | Appropriate scope | Reason |
|---|---|---|
| Initial image import | Controlled catalog batches | The destination needs its baseline media. |
| Image change for one product | Affected SKU | Unrelated products do not need an image update. |
| Repair of selected products | Explicit selection | The operator knows which records need attention. |
| Possible missed update | Compare first, repair affected records | A suspicion should not automatically become a full rebuild. |
The last row is a recommended recovery approach, not a claim that this project implemented a complete reconciliation service.
A webhook identifies work; it does not finish it#
The focused path in this integration accepted image data against a SKU through a WordPress REST endpoint. The broader plugin also supported fetching an item’s images from Zoho. Those were separate input paths, not one magical webhook that did everything.
A compact description of the targeted workflow is:
Image update for a SKU
→ identify the WooCommerce product
→ process the supplied image data
→ assign the featured image and gallery
This is a workflow sketch, not production code. Authentication, payload validation and error handling belong around those steps. A developer adapting it should also decide what happens when the SKU is missing, unknown or ambiguous. Creating a new product just to make an image request succeed is usually the wrong recovery action.
Once a record has been matched, keep the connection between the systems explicit. The documented plugin retained Zoho item identifiers on WooCommerce products. SKU is useful to an operator; the stored source reference provides additional context for the integration.
Image order is part of the product data#
A successful download is not the final result. The customer sees a featured image and an ordered gallery, not a folder of attachments.
The Zoho archive-import path downloaded the item’s image archive, unpacked it and used attachment order when assigning WooCommerce media. That detail matters: the right files in the wrong order can still produce the wrong product page.
When reviewing an image integration, I would check three outputs separately: which image becomes featured, which images enter the gallery, and the gallery’s sequence. For a store using variation-specific images, variation assignment is another requirement; it should not be assumed from a working parent-product gallery.
Replacement behavior deserves the same attention. As a design rule, store and validate a replacement before removing a working image. This is a recommendation for reviewing the pipeline, not a claim that the archived implementation used an atomic media swap.
A smaller job can still hit a limit#
Targeting one product reduces the scope of that update. It does not make external API limits disappear. Several changes can arrive together, administrators can start bulk work, and other integration features may use the same account.
The documented background image worker used Action Scheduler, paced requests and rescheduled work after a rate-limit response. That is a useful separation: a limit response means the work needs another opportunity, not that the product is now synchronized.
Action Scheduler provides APIs for scheduling jobs and an administration screen for inspecting scheduled actions. It does not choose your application’s retry policy. Define which errors deserve a later attempt, how many attempts you allow and who reviews work that cannot complete.
Likewise, eight products per administrative batch was a setting in this implementation. It is not a universal best practice. Image sizes, hosting resources and the rest of the integration change what a sensible batch looks like.
What I would ask to see before calling it reliable#
Start with one SKU and follow it all the way to the storefront. A useful acceptance exercise includes a new gallery, a changed featured image, a repeated update, an unknown SKU and a temporary downstream failure.
For each scenario, define the expected result before running it. A repeated update should not quietly grow the Media Library forever. An unknown SKU should produce a useful exception. A temporary failure should leave the work discoverable rather than disappearing behind a successful webhook response.
These are suggested checks for your own implementation. They are not a reconstructed test report from the project described here.
Operationally, keep enough information to answer “which product failed, at what step, and what should happen next?” Avoid making someone infer that from a customer-facing image error.
The practical change was scope, not a new tool#
The significant decision was to stop treating a small image change as catalog-wide work. Webhooks provided the targeted path; background processing and the existing bulk interface supported the surrounding operations.
That distinction is useful when a connector “works” but consumes too much capacity. Before replacing the whole integration, inspect the size of the job it creates. The right fix may be a smaller job with a clearer recovery path.
See the image synchronization case study for the project summary, or the broader Zoho integration guide for catalog and order architecture.
If a single image change currently triggers a full sync, explore our WooCommerce + Zoho Inventory integration service. To start an investigation, send your store URL, the system that owns the images and how updates currently reach WooCommerce. We can then define the diagnostic scope before proposing changes.