Public API: set custom distributors (suppliers) on products when creating or updating them
What: Allow the Public API to add and update a product's custom distributors (a Supplier company with price, price date and optional supplier article number) when creating or updating products. Today the API only accepts the manufacturer for this on product create/update.
Why: The customer is building a product catalog for smaller suppliers that have no distributor feed, and keeps that catalog in sync through the API. The supplier per product is needed so orders can be written back to their ERP (AFAS) with the right supplier.
Current workaround: Add the custom distributor manually on the product's Pricing tab (Product Distributors), or in bulk with the custom-distributor import on the Products list. The supplier selected on a quote line is already returned per quote line by the API, so the write-back itself works; only maintaining the supplier rows through the API is missing.
Who is affected: MSPs who manage products from suppliers without a feed through the Public API, here Promax (Leon Rodenburg).
Log in to comment and vote
Comments1
Bram Fofana
Dec 3
Custom distributors can only be maintained in the app today, on the product's Pricing tab or with the custom distributor import. The API already returns the selected supplier on quote lines, but it cannot write the supplier rows on a product. For a catalog of suppliers without a feed that you keep in sync through the API, that is a real gap. I am taking this to refinement: read and write a product's custom distributors (supplier company, price, price date and supplier article number) when creating or updating products through the Public API. No timeline yet.