Skip to content
saad.works
← Selected work
Applivity/2024

Instant Product Importer

An e-commerce plugin that imports products from arbitrary external Product APIs by mapping their JSON to store entities.

  • .NET
  • AbleCommerce
  • REST APIs
  • JSON mapping

The problem

Every supplier exposes products in a different JSON shape. Writing a bespoke importer per supplier doesn't scale.

Approach

  • Built a plugin that consumes any Product API and maps incoming JSON keys to the store's product entities through configuration.
  • Handled both single objects and arrays in responses, and created categories on the fly when needed.
  • Added a test-and-insert flow so JSON key mappings can be validated against a real payload before importing.
  • Added explicit error handling for API failures and malformed JSON.

Outcome

  • A new supplier feed is onboarded by configuring key mappings instead of writing code.
  • Bad payloads fail loudly and safely rather than corrupting the catalog.

Links

Working on something similar? Get in touch.